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
/
2007-11-22-InvokeNoUnwind.ll
blob
449047b0d32f6e7a9cd8df3f5dccb99845d5cba1
1
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep invoke
2
3
declare i32 @func(i8*) nounwind
4
5
define i32 @test() {
6
invoke i32 @func( i8* null )
7
to label %Cont unwind label %Other ; <i32>:1 [#uses=0]
8
9
Cont: ; preds = %0
10
ret i32 0
11
12
Other: ; preds = %0
13
ret i32 1
14
}