xref: /aosp_15_r20/external/llvm/test/Transforms/ADCE/dce_pure_call.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt -adce -S < %s | not grep call
2
3declare i32 @strlen(i8*) readonly nounwind
4
5define void @test() {
6	call i32 @strlen( i8* null )		; <i32>:1 [#uses=0]
7	ret void
8}
9