Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
5c0ef47d8378196527091de80c38745f7a1fdb42
/
.
/
test
/
ExecutionEngine
/
test-loop.ll
blob: 059de489cb0a07e0f3d071829a55fe8fe138f6d1 [
file
] [
log
] [
blame
]
; RUN: llvm-as -f %s -o %t.bc
; RUN: lli %t.bc > /dev/null
int
%main
()
{
br
label
%Loop
Loop
:
%I
=
phi
int
[
0
,
%0
],
[
%i2
,
%Loop
]
%i2
=
add
int
%I
,
1
%C
=
seteq
int
%i2
,
10
br
bool
%C
,
label
%Out
,
label
%Loop
Out
:
ret
int
0
}