forked from OSchip/llvm-project
13 lines
245 B
LLVM
13 lines
245 B
LLVM
|
; RUN: opt < %s -deadargelim -S | FileCheck %s
|
||
|
|
||
|
define internal void @f(i32 %arg) {
|
||
|
entry:
|
||
|
call void @g() [ "foo"(i32 %arg) ]
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK-LABEL: define internal void @f(
|
||
|
; CHECK: call void @g() [ "foo"(i32 %arg) ]
|
||
|
|
||
|
declare void @g()
|