implement aliases for div/idiv that have an explicit A register operand,
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-07-29-SGTTripCount.ll
index 4ab5735a591ab29e681936056e1e1e70499f0ac2..75bd634b3ef1272c2a8f1960866f724662bc0d04 100644 (file)
@@ -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: 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))
+