view test/Transforms/ADCE/dce_pure_call.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 95c75e76d11b
children
line wrap: on
line source

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