projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure this doesn't break when we're improving the isels
[oota-llvm.git]
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-CastRef.ll
1
; RUN: llvm-as < %s | opt -globaldce
2
;
3
implementation
4
5
internal void %func() { ; Not dead, can be reachable via X
6
ret void
7
}
8
9
void %main() {
10
%X = cast void()* %func to int*
11
ret void
12
}