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
/
PruneEH
/
simpletest.ll
blob
678e8d76b680cdc195a35d0c45c2df15d8c78042
1
; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
2
3
declare void @nounwind() nounwind
4
5
define internal void @foo() {
6
call void @nounwind()
7
ret void
8
}
9
10
define i32 @caller() {
11
invoke void @foo( )
12
to label %Normal unwind label %Except
13
14
Normal: ; preds = %0
15
ret i32 0
16
17
Except: ; preds = %0
18
ret i32 1
19
}