repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SimplifyCFG
/
2008-12-06-SingleEntryPhi.ll
blob
f220510ee56321c296dfa6770685b30dfd405a26
1
; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 | 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
}