llvm-6502/test/Transforms/ADCE/dce_pure_call.ll
2006-12-02 04:23:10 +00:00

10 lines
195 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}