Fix a bug in SCEV's backedge taken count computation from my prior fix in Jan.
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-07-12-UnneededSelect1.ll
index 850b6708f4fe866747458252a542132087ca30cd..dcf8fc9dbdb0f341a3565a127b7a63a72f1bfb86 100644 (file)
@@ -1,6 +1,9 @@
-; RUN: opt < %s -analyze -scalar-evolution -disable-output |& not grep smax
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | FileCheck %s
 ; PR2261
 
+; CHECK: Printing analysis 'Scalar Evolution Analysis' for function 'foo'
+; CHECK-NOT: smax
+
 @lut = common global [256 x i8] zeroinitializer, align 32              ; <[256 x i8]*> [#uses=1]
 
 define void @foo(i32 %count, i32* %srcptr, i32* %dstptr) nounwind  {