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