projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Break up huge line so that this file is almost readable.
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-loop.ll
1
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
int %main() {
5
br label %Loop
6
Loop:
7
%I = phi int [0, %0], [%i2, %Loop]
8
%i2 = add int %I, 1
9
%C = seteq int %i2, 10
10
br bool %C, label %Out, label %Loop
11
Out:
12
ret int 0
13
}