mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
12 lines
235 B
Plaintext
12 lines
235 B
Plaintext
|
; RUN: llvm-as < %s | llc -march=sparcv9 | not grep 'CPI'
|
||
|
; PR368 - make sure nulls are not spilled to constant pool
|
||
|
|
||
|
implementation
|
||
|
|
||
|
declare void %foobar (sbyte* %arg)
|
||
|
|
||
|
void %caller () {
|
||
|
call void %foobar (sbyte* null)
|
||
|
ret void
|
||
|
}
|