projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new tests
[oota-llvm.git]
/
test
/
Transforms
/
PruneEH
/
simpletest.llx
1
; RUN: as < %s | opt -prune-eh | dis | not grep invoke
2
3
implementation
4
5
internal void %foo() {
6
ret void ; does not throw
7
}
8
9
int %caller() {
10
invoke void %foo() to label %Normal except label %Except
11
Normal:
12
ret int 0
13
Except:
14
ret int 1
15
}