repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix test to not get a moduleid that matches 'br'
[llvm/avr.git]
/
test
/
ExecutionEngine
/
2003-01-04-PhiTest.ll
blob
b5c9d8132432b60498fac84b56414633310bf58f
1
; RUN: llvm-as %s -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
define i32 @main() {
5
; <label>:0
6
br label %Loop
7
Loop: ; preds = %Loop, %0
8
%X = phi i32 [ 0, %0 ], [ 1, %Loop ] ; <i32> [#uses=1]
9
br i1 true, label %Out, label %Loop
10
Out: ; preds = %Loop
11
ret i32 %X
12
}
13