1 ; RUN: opt < %s -scalar-evolution -analyze | grep {Loop %loop: backedge-taken count is (100 + (-100 smax %n))}
4 define void @foo(i8 %n) {
8 %i = phi i8 [ -100, %entry ], [ %i.inc, %next ]
9 %cond = icmp slt i8 %i, %n
10 br i1 %cond, label %next, label %return