279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
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) {
|