mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
15 lines
237 B
LLVM
15 lines
237 B
LLVM
|
; RUN: opt -S < %s -deadargelim | FileCheck %s
|
||
|
|
||
|
$f = comdat any
|
||
|
|
||
|
define void @f() comdat {
|
||
|
call void @g(i32 0)
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
define internal void @g(i32 %dead) comdat($f) {
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: define internal void @g() comdat($f) {
|