diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-11 02:11:43 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-11 02:11:43 +0000 |
commit | 51f148f39427ef996d4a64d5cafa04788ee85c4a (patch) | |
tree | 660a327079f8416b16750f2ccbcb7020c0f0ee93 | |
parent | 46bf5afa01b71f672bfc37166989884ea60647d1 (diff) |
Test case for PR368
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14129 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/SparcV9/2004-06-10-SpillNull.llx | 11 |
1 files changed, 11 insertions, 0 deletions
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 0000000000..5e194c2779 --- /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 +} |