Test case for PR368

llvm-svn: 14129
This commit is contained in:
Brian Gaeke 2004-06-11 02:11:43 +00:00
parent 2655aab200
commit 5caed4e7dd
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
; 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
}