Sign in
llvm
/
llvm-project
/
0e85232fa39dbe54b13b40320460dd4f945b29fd
/
.
/
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
}