• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -loop-unroll -disable-output
2
3define i32 @main() {
4entry:
5	br label %no_exit
6no_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
11loopexit:		; preds = %no_exit
12	ret i32 0
13}
14
15