Home | History | Annotate | Download | only in ScalarEvolution
      1 ; RUN: opt < %s -analyze -scalar-evolution -scalar-evolution-max-iterations=0 | FileCheck %s
      2 ; PR2088
      3 
      4 ; CHECK: Unpredictable
      5 
      6 define void @fun() {
      7 entry:
      8         br label %loop
      9 loop:
     10         %i = phi i8 [ 0, %entry ], [ %i.next, %loop ]
     11         %i.next = add i8 %i, 4
     12         %cond = icmp ne i8 %i.next, 6
     13         br i1 %cond, label %loop, label %exit
     14 exit:
     15         ret void
     16 }
     17