1 ; RUN: opt < %s "-passes=print<scalar-evolution>" -disable-output 2>&1 | FileCheck %s
4 ; CHECK: Loop %loop: backedge-taken count is (100 + (-100 smax %n))
5 define void @foo(i8 %n) {
9 %i = phi i8 [ -100, %entry ], [ %i.inc, %next ]
10 %cond = icmp slt i8 %i, %n
11 br i1 %cond, label %next, label %return