repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
Transforms
/
SimplifyCFG
/
return-merge.ll
blob
60267e9ec69b1ef2bda04d50c62fcb388dace5e3
1
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
2
3
define i32 @test1(i1 %C) {
4
entry:
5
br i1 %C, label %T, label %F
6
T: ; preds = %entry
7
ret i32 1
8
F: ; preds = %entry
9
ret i32 0
10
}
11
12
define void @test2(i1 %C) {
13
br i1 %C, label %T, label %F
14
T: ; preds = %0
15
ret void
16
F: ; preds = %0
17
ret void
18
}
19