projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM64: add patterns for csXYZ with reversed operands.
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
2008-12-06-SingleEntryPhi.ll
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
}