[llvm-commits] [llvm] r135559 - /llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
Andrew Trick
atrick at apple.com
Tue Jul 19 19:14:37 PDT 2011
Author: atrick
Date: Tue Jul 19 21:14:37 2011
New Revision: 135559
URL: http://llvm.org/viewvc/llvm-project?rev=135559&view=rev
Log:
indvars test case for r135558.
Modified:
llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
Modified: llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll?rev=135559&r1=135558&r2=135559&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/no-iv-rewrite.ll Tue Jul 19 21:14:37 2011
@@ -330,9 +330,16 @@
%first = getelementptr inbounds %structIF* %base, i64 0, i32 0
br label %loop
+; CHECK: loop:
+; CHECK: phi %structIF*
+; CHECK: phi i32*
+; CHECK: getelementptr inbounds
+; CHECK: getelementptr inbounds
+; CHECK: exit:
loop:
%ptr.iv = phi %structIF* [ %ptr.inc, %latch ], [ %base, %entry ]
%next = phi i32* [ %next.inc, %latch ], [ %first, %entry ]
+ store i32 4, i32* %next
br i1 undef, label %latch, label %exit
latch: ; preds = %for.inc50.i
More information about the llvm-commits
mailing list