implement aliases for div/idiv that have an explicit A register operand,
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-07-29-SGTTripCount.ll
index 307439f7b86f8ddd115feb0c858f104d6c74ed0d..75bd634b3ef1272c2a8f1960866f724662bc0d04 100644 (file)
@@ -1,6 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
-; RUN:   -scalar-evolution-max-iterations=0 | \
-; RUN: grep -F "( -1 + ( -1 *  %j)) iterations"
+; RUN: opt < %s -analyze -scalar-evolution \
+; 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))
+