mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 06:52:55 +01:00
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
7 lines
152 B
LLVM
7 lines
152 B
LLVM
; Weak variables should be preserved by global DCE!
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | grep @A
|
|
|
|
|
|
%A = weak global int 54
|