diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-27 14:54:46 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-27 14:54:46 +0000 |
commit | 4ea7d4c3eb1025a31e615f8eb9c9c2591553a199 (patch) | |
tree | 7df73d8e5acfdcde5a389f3f13adfcbe604be29b /test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll | |
parent | f87611272bd9b97c738e18ed046b38e0b5acdebb (diff) | |
download | llvm-4ea7d4c3eb1025a31e615f8eb9c9c2591553a199.tar.gz llvm-4ea7d4c3eb1025a31e615f8eb9c9c2591553a199.tar.bz2 llvm-4ea7d4c3eb1025a31e615f8eb9c9c2591553a199.tar.xz |
Convert Analysis tests to FileCheck in regards to PR5307.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85241 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll')
-rw-r--r-- | test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll index 7f4de91733..d54b3b4e9c 100644 --- a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll +++ b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.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 (-2147483632 + ((-1 + (-1 * %x)) smax (-1 + (-1 * %y))))" +; RUN: -scalar-evolution-max-iterations=0 | FileCheck %s ; PR2607 define i32 @b(i32 %x, i32 %y) nounwind { @@ -22,3 +21,6 @@ afterfor: ; preds = %forinc, %entry %j.0.lcssa = phi i32 [ -2147483632, %entry ], [ %dec, %forinc ] ret i32 %j.0.lcssa } + +; CHECK: backedge-taken count is (-2147483632 + ((-1 + (-1 * %x)) smax (-1 + (-1 * %y)))) + |