From: Brian Gaeke Date: Fri, 11 Jun 2004 02:11:43 +0000 (+0000) Subject: Test case for PR368 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51f148f39427ef996d4a64d5cafa04788ee85c4a;p=oota-llvm.git Test case for PR368 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14129 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx b/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx new file mode 100644 index 00000000000..5e194c27791 --- /dev/null +++ b/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx @@ -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 +}