repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-ConstantRef.ll
blob
67eac0023678a15794354c27acc919dc9426b692
1
; RUN: opt < %s -passes=globaldce
2
;
3
4
@X = global ptr @func ; <ptr> [#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
}