mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
1da5f2dd2e
In fact this also deletes those with linkonce linkage, however this is currently dead because for the moment aliases aren't allowed to have this linkage type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61742 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
248 B
LLVM
9 lines
248 B
LLVM
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep @D
|
|
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @L | count 3
|
|
|
|
@A = global i32 0
|
|
@D = alias internal i32* @A
|
|
@L1 = alias i32* @A
|
|
@L2 = alias internal i32* @L1
|
|
@L3 = alias i32* @L2
|