projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't restrict the set of instructions where we try to constant-fold the
[oota-llvm.git]
/
test
/
Transforms
/
GlobalDCE
/
2009-01-05-DeadAliases.ll
1
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep @D
2
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @L | count 3
3
4
@A = global i32 0
5
@D = alias internal i32* @A
6
@L1 = alias i32* @A
7
@L2 = alias internal i32* @L1
8
@L3 = alias i32* @L2