• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null
2
3; Testcase distilled from 256.bzip2.
4
5define i32 @main() {
6entry:
7	br label %loopentry.0
8loopentry.0:		; preds = %loopentry.0, %entry
9	%h.0 = phi i32 [ %tmp.2, %loopentry.0 ], [ -1, %entry ]		; <i32> [#uses=1]
10	%tmp.2 = add i32 %h.0, 1		; <i32> [#uses=3]
11	%tmp.4 = icmp ne i32 %tmp.2, 0		; <i1> [#uses=1]
12	br i1 %tmp.4, label %loopentry.0, label %loopentry.1
13loopentry.1:		; preds = %loopentry.0
14	%h.1 = phi i32 [ %tmp.2, %loopentry.0 ]		; <i32> [#uses=1]
15	ret i32 %h.1
16}
17
18