Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-05-25-NegativeStepToZero.ll
index 922d9a97542e86b2524460054892788b0f98bce7..41734d70f0717adf9644031ec0f30a8511e5fbe0 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {61 iterations}
+; RUN: opt < %s -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep "backedge-taken count is 61"
+; PR2364
 
 define i32 @func_6() nounwind  {
 entry: