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
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
PruneEH
/
2003-11-21-PHIUpdate.ll
blob
8333cd8f722cd49caeebd7b6a491ffc332f8d98d
1
; RUN: llvm-as < %s | opt -prune-eh -disable-output
2
3
define internal void @callee() {
4
ret void
5
}
6
7
define i32 @caller() {
8
; <label>:0
9
invoke void @callee( )
10
to label %E unwind label %E
11
E: ; preds = %0, %0
12
%X = phi i32 [ 0, %0 ], [ 0, %0 ] ; <i32> [#uses=1]
13
ret i32 %X
14
}
15