Sign in
llvm
/
llvm-project
/
0e85232fa39dbe54b13b40320460dd4f945b29fd
/
.
/
llvm
/
test
/
Transforms
/
StripDeadPrototypes
/
basic.ll
blob: fd47041593370304a1cc9e5e5136d676183f001c [
file
] [
log
] [
blame
]
; RUN: opt -S -passes=strip-dead-prototypes < %s | FileCheck %s
; CHECK: declare i32 @f
declare
i32
@f
()
; CHECK-NOT: declare i32 @g
declare
i32
@g
()
define
i32
@foo
()
{
%call
=
call
i32
@f
()
ret
i32
%call
}