projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CodeGen tests for the recent SelectionDAG transforms
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-loop.ll
1
; RUN: llvm-as -f %s -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
5
6
int %main() {
7
br label %Loop
8
Loop:
9
%I = phi int [0, %0], [%i2, %Loop]
10
%i2 = add int %I, 1
11
%C = seteq int %i2, 10
12
br bool %C, label %Out, label %Loop
13
Out:
14
ret int 0
15
}