llvm.org GIT mirror llvm / release_60 test / Transforms / ADCE / dce_pure_call.ll
release_60

Tree @release_60 (Download .tar.gz)

dce_pure_call.ll @release_60raw · history · blame

1
2
3
4
5
6
7
8
; RUN: opt -adce -S < %s | not grep call

declare i32 @strlen(i8*) readonly nounwind

define void @test() {
	call i32 @strlen( i8* null )		; <i32>:1 [#uses=0]
	ret void
}