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
/
recursivetest.ll
blob
231c7b373819862d9388724a8347463dbe130db8
1
; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
2
3
define internal i32 @foo() {
4
invoke i32 @foo( )
5
to label %Normal unwind label %Except ; <i32>:1 [#uses=0]
6
Normal: ; preds = %0
7
ret i32 12
8
Except: ; preds = %0
9
ret i32 123
10
}
11
12
define i32 @caller() {
13
invoke i32 @foo( )
14
to label %Normal unwind label %Except ; <i32>:1 [#uses=0]
15
Normal: ; preds = %0
16
ret i32 0
17
Except: ; preds = %0
18
ret i32 1
19
}
20