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
/
JumpThreading
/
undef.ll
blob
497a87a6564193477be252e82a9f21b245b1a865
1
; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | not grep {br }
2
; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | grep {ret i32} | count 1
3
4
define i32 @test(i1 %cond) {
5
br i1 undef, label %T1, label %F1
6
7
T1:
8
ret i32 42
9
10
F1:
11
ret i32 17
12
}