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
/
SCCP
/
2004-11-16-DeadInvoke.ll
blob
cf64677334a207964e11c22936e0c6b38436e153
1
; RUN: llvm-as < %s | opt -sccp -disable-output
2
3
declare i32 @foo()
4
5
define void @caller() {
6
br i1 true, label %T, label %F
7
F: ; preds = %0
8
%X = invoke i32 @foo( )
9
to label %T unwind label %T ; <i32> [#uses=0]
10
T: ; preds = %F, %F, %0
11
ret void
12
}
13