summaryrefslogtreecommitdiff
path: root/test/Analysis/ScalarEvolution/trip-count4.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/ScalarEvolution/trip-count4.ll')
-rw-r--r--test/Analysis/ScalarEvolution/trip-count4.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Analysis/ScalarEvolution/trip-count4.ll b/test/Analysis/ScalarEvolution/trip-count4.ll
index c02ae14526..b7184a48fe 100644
--- a/test/Analysis/ScalarEvolution/trip-count4.ll
+++ b/test/Analysis/ScalarEvolution/trip-count4.ll
@@ -1,8 +1,9 @@
-; RUN: opt < %s -analyze -scalar-evolution \
-; RUN: | grep "sext.*trunc.*Exits: 11"
+; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
; ScalarEvolution should be able to compute a loop exit value for %indvar.i8.
+; CHECK: sext{{.*}}trunc{{.*}}Exits: 11
+
define void @another_count_down_signed(double* %d, i64 %n) nounwind {
entry:
br label %loop