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

declare int %strlen(sbyte*)

void %test() {
	;; Dead call should be deleted!
	call int %strlen(sbyte *null)
	ret void
}