summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll')
-rw-r--r--llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll b/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
index e0c5583cbb9..b5eb9fc4878 100644
--- a/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
@@ -1,9 +1,10 @@
-; RUN: opt < %s -analyze -scalar-evolution \
-; RUN: -scalar-evolution-max-iterations=0 | grep "Loop %bb: backedge-taken count is 100"
+; RUN: opt < %s -analyze -scalar-evolution -scalar-evolution-max-iterations=0 | FileCheck %s
; PR1533
@array = weak global [101 x i32] zeroinitializer, align 32 ; <[100 x i32]*> [#uses=1]
+; CHECK: Loop %bb: backedge-taken count is 100
+
define void @loop(i32 %x) {
entry:
br label %bb
OpenPOWER on IntegriCloud