mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +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
|
||
|
}
|