mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
Test case for PR368
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46bf5afa01
commit
51f148f394
11
test/CodeGen/SparcV9/2004-06-10-SpillNull.llx
Normal file
11
test/CodeGen/SparcV9/2004-06-10-SpillNull.llx
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user