mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
cf1e2f76e3
llvm-svn: 208644
19 lines
367 B
LLVM
19 lines
367 B
LLVM
; RUN: opt < %s -globaldce -S > %t
|
|
; RUN: FileCheck %s < %t
|
|
; RUN: FileCheck --check-prefix=DEAD %s < %t
|
|
|
|
@A = global i32 0
|
|
; CHECK: @A = global i32 0
|
|
|
|
@D = alias internal i32* @A
|
|
; DEAD-NOT: @D
|
|
|
|
@L1 = alias i32* @A
|
|
; CHECK: @L1 = alias i32* @A
|
|
|
|
@L2 = alias internal i32* @L1
|
|
; CHECK: @L2 = alias internal i32* @L1
|
|
|
|
@L3 = alias i32* @L2
|
|
; CHECK: @L3 = alias i32* @L2
|