1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/Transforms/GlobalDCE/pr20981.ll

18 lines
337 B
LLVM
Raw Normal View History

; RUN: opt < %s -globaldce -S | FileCheck %s
$c1 = comdat any
; CHECK: $c1 = comdat any
@a1 = linkonce_odr alias void ()* @f1
; CHECK: @a1 = linkonce_odr alias void ()* @f1
define linkonce_odr void @f1() comdat($c1) {
ret void
}
; CHECK: define linkonce_odr void @f1() comdat($c1)
define void @g() {
call void @f1()
ret void
}