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
[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SimplifyCFG
/
2008-12-06-SingleEntryPhi.ll
blob
de94c3af5b2f30722607dd4daa66acb628977396
1
; RUN: opt < %s -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
}