aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/IndVarSimplify
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-12 22:59:00 +0000
committerAndrew Trick <atrick@apple.com>2011-09-12 22:59:00 +0000
commit27cea8e34bb05208ea1a3507991ef83e72cb9caf (patch)
treea80d841ae5f7008c2ddff4fa9a5a46a4fca16aa1 /test/Transforms/IndVarSimplify
parent926785487d95e4b0afef2c375a06b41dd317e836 (diff)
downloadexternal_llvm-27cea8e34bb05208ea1a3507991ef83e72cb9caf.zip
external_llvm-27cea8e34bb05208ea1a3507991ef83e72cb9caf.tar.gz
external_llvm-27cea8e34bb05208ea1a3507991ef83e72cb9caf.tar.bz2
indvars test only relevant for -enable-iv-rewrite.
Otherwise this case is now covered by no-iv-rewrite.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify')
-rw-r--r--test/Transforms/IndVarSimplify/complex-scev.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/IndVarSimplify/complex-scev.ll b/test/Transforms/IndVarSimplify/complex-scev.ll
index 434c4ec..395377e 100644
--- a/test/Transforms/IndVarSimplify/complex-scev.ll
+++ b/test/Transforms/IndVarSimplify/complex-scev.ll
@@ -1,7 +1,9 @@
; The i induction variable looks like a wrap-around, but it really is just
; a simple affine IV. Make sure that indvars eliminates it.
-; RUN: opt < %s -indvars -S | grep phi | count 1
+; RUN: opt < %s -indvars -S -enable-iv-rewrite | FileCheck %s
+; CHECK: phi
+; CHECK-NOT: phi
define void @foo() {
entry: