repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
ExecutionEngine
/
test-branch.ll
blob
d7251f8e6b8d9d3fef4a502020aa76f9a1f84135
1
; RUN: llvm-as %s -f -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
; test unconditional branch
5
define i32 @main() {
6
br label %Test
7
Test: ; preds = %Test, %0
8
%X = icmp eq i32 0, 4 ; <i1> [#uses=1]
9
br i1 %X, label %Test, label %Label
10
Label: ; preds = %Test
11
ret i32 0
12
}
13