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 a bunch of spurious failures for people whose home directory
[llvm/avr.git]
/
test
/
Transforms
/
SimplifyCFG
/
2008-12-06-SingleEntryPhi.ll
blob
6dffdf1598a9f2237603344d5eab59fdd96f517c
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
}