summaryrefslogtreecommitdiff
path: root/test/Transforms/ADCE/dce_pure_call.ll
blob: a7414e027eadf7fd9ac007fb26abd903089775cf (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call

declare i32 @strlen(i8*) readonly

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