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
/
2003-08-05-InvokeCrash.ll
blob
74e7428429de484435147f0b18706d5d5407f24b
1
; Do not remove the invoke!
2
;
3
; RUN: llvm-as < %s | opt -simplifycfg -disable-output
4
5
define i32 @test() {
6
%A = invoke i32 @test( )
7
to label %Ret unwind label %Ret2 ; <i32> [#uses=1]
8
Ret: ; preds = %0
9
ret i32 %A
10
Ret2: ; preds = %0
11
ret i32 undef
12
}
13