repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
Transforms
/
SimplifyCFG
/
2008-12-06-SingleEntryPhi.ll
blob
d3c7c320cee3a0289c28d2e7be5c2a93fbe1f572
1
; RUN: opt < %s -simplifycfg | llvm-dis
2
define i32 @test() {
3
entry:
4
br label %T
5
T:
6
%C = phi i1 [false, %entry]
7
br i1 %C, label %X, label %Y
8
X:
9
ret i32 2
10
Y:
11
add i32 1, 2
12
ret i32 1
13
}