llvm-6502/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx
Brian Gaeke 51f148f394 Test case for PR368
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14129 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:11:43 +00:00

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
}