llvm.org GIT mirror llvm / b3c495f
new testcase. globaldce should not delete the global git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8999 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; Weak variables should be preserved by global DCE!
1
2 ; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
3
4
5 %A = weak global int 54