]> granicus.if.org Git - llvm/commit
[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)
commit8125ab6f68f9990eec65f4acb743e8ffb7608193
tree8f072f6fe6a9f35b97c9d9f039c0b5f65539fbe8
parent6248ee71f83d81fa8f827f2c74f23e88ff399b9f
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356122 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/RISCV/callee-saved-fpr32s.ll
test/CodeGen/RISCV/callee-saved-fpr64s.ll
test/CodeGen/RISCV/callee-saved-gprs.ll