projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase to verify that we have field sensitive alias analysis info. This
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
dce_pure_invoke.ll
1
; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep null
2
3
declare int %strlen(sbyte*)
4
5
int %test() {
6
;; Dead call should be deleted!
7
invoke int %strlen(sbyte *null) to label %Cont unwind label %Other
8
Cont:
9
ret int 0
10
Other:
11
ret int 1
12
}
13