Sign in
llvm
/
llvm-project
/
6076c1dc1ca1077923a7b82f6b155d746efa9be9
/
.
/
llvm
/
test
/
Transforms
/
ADCE
/
dce_pure_call.ll
blob: f316c7fcb6b9949e35ebb91da294b71575e00b4e [
file
] [
log
] [
blame
]
; RUN: opt -passes=adce -S < %s | not grep call
declare
i32
@strlen
(
i8
*)
readonly
nounwind
willreturn
define
void
@test
()
{
call
i32
@strlen
(
i8
*
null
)
; <i32>:1 [#uses=0]
ret
void
}