summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-27 14:54:46 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-27 14:54:46 +0000
commitf96ce30236b0ef5b0349e60d09b08bd3cc476436 (patch)
tree6fbaefda4d42290da3c874d68800072ac116f31a /llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
parent177f1d979d47f56cbdfa671de460f196f855e0cd (diff)
downloadbcm5719-llvm-f96ce30236b0ef5b0349e60d09b08bd3cc476436.tar.gz
bcm5719-llvm-f96ce30236b0ef5b0349e60d09b08bd3cc476436.zip
Convert Analysis tests to FileCheck in regards to PR5307.
llvm-svn: 85241
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll')
-rw-r--r--llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
index 97d0640c6c5..37b5b94b844 100644
--- a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
@@ -1,6 +1,5 @@
; RUN: opt < %s -analyze -scalar-evolution -disable-output \
-; RUN: -scalar-evolution-max-iterations=0 | \
-; RUN: grep -F "backedge-taken count is (-1 + (-1 * %j))"
+; RUN: -scalar-evolution-max-iterations=0 | FileCheck %s
; PR2607
define i32 @_Z1aj(i32 %j) nounwind {
@@ -25,3 +24,5 @@ return: ; preds = %return.loopexit, %entry
ret i32 %i.0.lcssa
}
+; CHECK: backedge-taken count is (-1 + (-1 * %j))
+
OpenPOWER on IntegriCloud