Home | History | Annotate | Download | only in LoopUnroll
      1 ; RUN: opt < %s -loop-unroll -disable-output
      2 
      3 define i32 @main() {
      4 entry:
      5 	br label %no_exit
      6 no_exit:		; preds = %no_exit, %entry
      7 	%indvar = phi i32 [ 0, %entry ], [ %indvar.next, %no_exit ]		; <i32> [#uses=1]
      8 	%indvar.next = add i32 %indvar, 1		; <i32> [#uses=2]
      9 	%exitcond = icmp ne i32 %indvar.next, -2147483648		; <i1> [#uses=1]
     10 	br i1 %exitcond, label %no_exit, label %loopexit
     11 loopexit:		; preds = %no_exit
     12 	ret i32 0
     13 }
     14 
     15