brintos

brintos / llvm-project-archived public Read only

0
0
Text · 544 B · 1eaf7db Raw
19 lines · plain
1; RUN: %lli -jit-kind=mcjit %s > /dev/null2; RUN: %lli %s > /dev/null3 4; Testcase distilled from 256.bzip2.5 6define i32 @main() {7entry:8	br label %loopentry.09loopentry.0:		; preds = %loopentry.0, %entry10	%h.0 = phi i32 [ %tmp.2, %loopentry.0 ], [ -1, %entry ]		; <i32> [#uses=1]11	%tmp.2 = add i32 %h.0, 1		; <i32> [#uses=3]12	%tmp.4 = icmp ne i32 %tmp.2, 0		; <i1> [#uses=1]13	br i1 %tmp.4, label %loopentry.0, label %loopentry.114loopentry.1:		; preds = %loopentry.015	%h.1 = phi i32 [ %tmp.2, %loopentry.0 ]		; <i32> [#uses=1]16	ret i32 %h.117}18 19