summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopRotate
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-08 18:52:51 +0000
committerChris Lattner <sabre@nondot.org>2011-01-08 18:52:51 +0000
commit0e4a1543aba1364fe4a1eacee46b6d08d4611506 (patch)
treef819ae4f9bd8b89179b2307203e130d3eb11bc7a /test/Transforms/LoopRotate
parentb0433d4b2fb66922fa3625871840ccb72c8a9dec (diff)
downloadllvm-0e4a1543aba1364fe4a1eacee46b6d08d4611506.tar.gz
llvm-0e4a1543aba1364fe4a1eacee46b6d08d4611506.tar.bz2
llvm-0e4a1543aba1364fe4a1eacee46b6d08d4611506.tar.xz
Three major changes:
1. Rip out LoopRotate's domfrontier updating code. It isn't needed now that LICM doesn't use DF and it is super complex and gross. 2. Make DomTree updating code a lot simpler and faster. The old loop over all the blocks was just to find a block?? 3. Change the code that inserts the new preheader to just use SplitCriticalEdge instead of doing an overcomplex reimplementation of it. No behavior change, except for the name of the inserted preheader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopRotate')
-rw-r--r--test/Transforms/LoopRotate/phi-duplicate.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LoopRotate/phi-duplicate.ll b/test/Transforms/LoopRotate/phi-duplicate.ll
index c252a32d51..96bec82c19 100644
--- a/test/Transforms/LoopRotate/phi-duplicate.ll
+++ b/test/Transforms/LoopRotate/phi-duplicate.ll
@@ -34,9 +34,9 @@ for.end: ; preds = %for.cond
; CHECK: define void @test
; CHECK-NEXT: entry:
-; CHECK-NEXT: br i1 true, label %bb.nph, label %for.end
+; CHECK-NEXT: br i1 true, label %for.body.lr.ph, label %for.end
; CHECK-NOT: :
-; CHECK: bb.nph:
+; CHECK: for.body.lr.ph:
; CHECK-NEXT: br label %for.body
; CHECK-NOT: :
; CHECK: for.body: