summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-12-14 22:07:19 +0000
committerAndrew Trick <atrick@apple.com>2011-12-14 22:07:19 +0000
commite0ced62119ff1a28bf32fdd23a29b94056c34bef (patch)
tree800f82ffabc2b0a420c655c1f281434416836003 /llvm/test/Transforms
parent9af58d44269149e169cf7136763cc4f20dbef03d (diff)
downloadbcm5719-llvm-e0ced62119ff1a28bf32fdd23a29b94056c34bef.tar.gz
bcm5719-llvm-e0ced62119ff1a28bf32fdd23a29b94056c34bef.zip
LSR: Fold redundant bitcasts on-the-fly.
llvm-svn: 146597
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll b/llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
index 27609157ec8..76aa08c26e8 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
@@ -4,12 +4,12 @@
; LSR should property handle the post-inc offset when folding the
; non-IV operand of an icmp into the IV.
-; CHECK: %5 = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
-; CHECK: %6 = lshr i64 %5, 1
-; CHECK: %7 = mul i64 %6, 2
+; CHECK: %4 = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
+; CHECK: %5 = lshr i64 %4, 1
+; CHECK: %6 = mul i64 %5, 2
; CHECK: br label %for.body
; CHECK: for.body:
-; CHECK: %lsr.iv2 = phi i64 [ %lsr.iv.next, %for.body ], [ %7, %for.body.lr.ph ]
+; CHECK: %lsr.iv2 = phi i64 [ %lsr.iv.next, %for.body ], [ %6, %for.body.lr.ph ]
; CHECK: %lsr.iv.next = add i64 %lsr.iv2, -2
; CHECK: %lsr.iv.next3 = inttoptr i64 %lsr.iv.next to i16*
; CHECK: %cmp27 = icmp eq i16* %lsr.iv.next3, null
OpenPOWER on IntegriCloud