projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
2003-09-10-UnwindInstFail.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -adce -disable-output
2
3
implementation ; Functions:
4
5
void %test() {
6
br bool false, label %then, label %endif
7
8
then:
9
invoke void null( sbyte* null )
10
to label %invoke_cont except label %invoke_catch
11
12
invoke_catch:
13
unwind
14
15
invoke_cont:
16
ret void
17
18
endif:
19
ret void
20
}