llvm.org GIT mirror llvm / 2676f83 test / CodeGen / SparcV9 / 2004-06-10-SpillNull.llx
2676f83

Tree @2676f83 (Download .tar.gz)

2004-06-10-SpillNull.llx @2676f83raw · history · blame

; 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
}