Files
clang-p2996/llvm/test/Transforms/ADCE/dce_pure_call.ll
Nikita Popov 563cf93776 [ADCE] Update tests to use opaque pointers (NFC)
Update performed using:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34

This time without any manual fixup.
2022-06-22 12:26:12 +02:00

9 lines
189 B
LLVM

; 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
}