aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SparcV9/2004-06-10-SpillNull.llx
blob: 5e194c27791d1dc2ca957f804ddc2afa5fefb21c (plain)
1
2
3
4
5
6
7
8
9
10
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
}