• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: %lli %s > /dev/null
2
3define i32 @main() {
4; <label>:0
5	br label %Loop
6Loop:		; preds = %Loop, %0
7	%I = phi i32 [ 0, %0 ], [ %i2, %Loop ]		; <i32> [#uses=1]
8	%i2 = add i32 %I, 1		; <i32> [#uses=2]
9	%C = icmp eq i32 %i2, 10		; <i1> [#uses=1]
10	br i1 %C, label %Out, label %Loop
11Out:		; preds = %Loop
12	ret i32 0
13}
14
15