projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Teach masked value is zero about add and sub, and use MVIZ to
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
2003-09-10-UnwindInstFail.ll
1
; RUN: llvm-as < %s | opt -adce -disable-output
2
3
define void @test() {
4
br i1 false, label %then, label %endif
5
6
then: ; preds = %0
7
invoke void null( i8* null )
8
to label %invoke_cont unwind label %invoke_catch
9
10
invoke_catch: ; preds = %then
11
unwind
12
13
invoke_cont: ; preds = %then
14
ret void
15
16
endif: ; preds = %0
17
ret void
18
}
19