[PATCH] D132717: [AArch64] Add an option to reserve physical registers from RA
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 18:35:59 PDT 2022
Carrot added a comment.
It's not necessary strictly speaking. The only problem of getReservedRegs is it is used by isAnyArgRegReserved. Testing this new kind of reserved register in isAnyArgRegReserved doesn't make sense. A possible solution is moving current content of getReservedRegs to a new function getStrictlyReservedRegs, and call this function from getReservedRegs and isAnyArgRegReserved. I will try it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132717/new/
https://reviews.llvm.org/D132717
More information about the llvm-commits
mailing list