repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Now that PR2957 is resolved, remove a bunch of
[llvm/msp430.git]
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-ConstantRef.ll
blob
2a398468beec63902b64d6e60e5fcd6f9d61a2eb
1
; RUN: llvm-as < %s | opt -globaldce
2
;
3
4
@X = global void ()* @func ; <void ()**> [#uses=0]
5
6
; Not dead, can be reachable via X
7
define internal void @func() {
8
ret void
9
}
10
11
define void @main() {
12
ret void
13
}