[llvm-commits] [llvm] r139552 - /llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll
Andrew Trick
atrick at apple.com
Mon Sep 12 15:59:00 PDT 2011
Author: atrick
Date: Mon Sep 12 17:59:00 2011
New Revision: 139552
URL: http://llvm.org/viewvc/llvm-project?rev=139552&view=rev
Log:
indvars test only relevant for -enable-iv-rewrite.
Otherwise this case is now covered by no-iv-rewrite.ll.
Modified:
llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll
Modified: llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll?rev=139552&r1=139551&r2=139552&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/complex-scev.ll Mon Sep 12 17:59:00 2011
@@ -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:
More information about the llvm-commits
mailing list