repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
SCCP
/
2004-11-16-DeadInvoke.ll
blob
5d2c78ef874c0a5f52ff9fcf750645418bdbfc21
1
; RUN: opt < %s -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