mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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
This commit is contained in:
parent
f797cabedf
commit
b3c495f675
@ -0,0 +1,6 @@
|
||||
; Weak variables should be preserved by global DCE!
|
||||
|
||||
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
|
||||
|
||||
|
||||
%A = weak global int 54
|
Loading…
Reference in New Issue
Block a user