aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/IndVarSimplify
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-01-07 01:12:09 +0000
committerAndrew Trick <atrick@apple.com>2012-01-07 01:12:09 +0000
commitee98aa87434d9d49a8e4dab41d873888ac9c4805 (patch)
tree1d7b661de824a316687c49d65a7e8cbe6b7c99c6 /test/Transforms/IndVarSimplify
parent5548755201a49bfe2af709ba0d0e7ba851cdb44f (diff)
downloadexternal_llvm-ee98aa87434d9d49a8e4dab41d873888ac9c4805.zip
external_llvm-ee98aa87434d9d49a8e4dab41d873888ac9c4805.tar.gz
external_llvm-ee98aa87434d9d49a8e4dab41d873888ac9c4805.tar.bz2
Extended replaceCongruentPhis to handle mixed phi types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify')
-rw-r--r--test/Transforms/IndVarSimplify/no-iv-rewrite.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/IndVarSimplify/no-iv-rewrite.ll b/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
index 9c2abd0..23fdc87 100644
--- a/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
+++ b/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
@@ -333,9 +333,9 @@ entry:
; CHECK: loop:
; CHECK: phi %structIF*
-; CHECK: phi i32*
-; CHECK: getelementptr inbounds
+; CHECK-NOT: phi
; CHECK: getelementptr inbounds
+; CHECK-NOT: getelementptr
; CHECK: exit:
loop:
%ptr.iv = phi %structIF* [ %ptr.inc, %latch ], [ %base, %entry ]