llvm-6502/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx

12 lines
235 B
Plaintext
Raw Normal View History

; 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
}