-; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | \
-; RUN: grep '10000 iterations'
+; RUN: opt < %s -analyze -scalar-evolution \
+; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 10000}
; PR1101
@A = weak global [1000 x i32] zeroinitializer, align 32
-implementation ; Functions:
define void @test(i32 %N) {
entry: