projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
If the global variable is removed by the linker, then don't constant merge it
[oota-llvm.git]
/
test
/
Transforms
/
ConstantMerge
/
2003-10-28-MergeExternalConstants.ll
1
; RUN: opt -S -constmerge %s | FileCheck %s
2
3
; CHECK: @foo = constant i32 6
4
; CHECK: @bar = constant i32 6
5
@foo = constant i32 6 ; <i32*> [#uses=0]
6
@bar = constant i32 6 ; <i32*> [#uses=0]
7