hanchenye-llvm-project/llvm/test/Regression/CodeGen/SparcV9/2004-06-10-SpillNull.llx

12 lines
235 B
Plaintext
Raw Normal View History

2004-06-11 10:11:43 +08:00
; 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
}