[RISCV] Extend test/CodeGen/RISCV/callee-saved-* to test getCalleePreservedRegs
authorAlex Bradbury <asb@lowrisc.org>
Thu, 14 Mar 2019 08:17:44 +0000 (08:17 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 14 Mar 2019 08:17:44 +0000 (08:17 +0000)
commitd08ed38e084b84db952b3c21fa759a81397675fb
treee810e01fd03ebc2f378c767d486563fed0887312
parent54a0b533088290fbbbbe87071eb0ce1fc764f0d8
[RISCV] Extend test/CodeGen/RISCV/callee-saved-* to test getCalleePreservedRegs

Add a caller which exhausts regs then calls another function. This allows
getCalleePreservedRegs to be tested.

llvm-svn: 356122
llvm/test/CodeGen/RISCV/callee-saved-fpr32s.ll
llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll
llvm/test/CodeGen/RISCV/callee-saved-gprs.ll