[PATCH] D156393: [RISCV] Fix getMaxPushPopReg like getLibCallID
Jim Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 23:00:47 PDT 2023
Jim added a comment.
In D156393#4537632 <https://reviews.llvm.org/D156393#4537632>, @kito-cheng wrote:
> testcase?
It is hard to add testcase to show the differece. It only reuses the assumption that register in ra-s11 would be assigned a negative frame index
by RISCVRegisterInfo::hasReservedSpillSlot instead of adding a new register class PGPR to check register inside ra-s11.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156393/new/
https://reviews.llvm.org/D156393
More information about the llvm-commits
mailing list