mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
10 lines
180 B
LLVM
10 lines
180 B
LLVM
|
; 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
|
||
|
}
|