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