projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f22d957
)
indvars test case for r135558.
author
Andrew Trick
<atrick@apple.com>
Wed, 20 Jul 2011 02:14:37 +0000
(
02:14
+0000)
committer
Andrew Trick
<atrick@apple.com>
Wed, 20 Jul 2011 02:14:37 +0000
(
02:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135559
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/IndVarSimplify/no-iv-rewrite.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
b/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
index bb951c6f182ad878b30683bba3aef9fff68e8834..a6073c2f8d33e001b8ff94e1d19289bf15ccec42 100644
(file)
--- a/
test/Transforms/IndVarSimplify/no-iv-rewrite.ll
+++ b/
test/Transforms/IndVarSimplify/no-iv-rewrite.ll
@@
-330,9
+330,16
@@
entry:
%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