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-MishandleInvoke.ll
blob
9f56e07bfd62c9af0352df34e2508d5966171648
1
; Do not remove the invoke!
2
;
3
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep invoke
4
5
define i32 @test() {
6
invoke i32 @test( )
7
to label %Ret unwind label %Ret ; <i32>:1 [#uses=0]
8
Ret: ; preds = %0, %0
9
%A = add i32 0, 1 ; <i32> [#uses=1]
10
ret i32 %A
11
}
12