aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorNeumann Hon <h.neukc@gmail.com>2022-07-06 22:22:25 -0400
committerNeumann Hon <h.neukc@gmail.com>2022-07-06 22:22:25 -0400
commitc45ec53e7b852c1d874b6ffac11ce71ca21415dd (patch)
tree5820a2479383914f2cada15ed5ad7c03f4b3a221 /lldb/packages/Python/lldbsuite/test
parent362240e09e9e203b65d14b0b620803e7caa26536 (diff)
downloadllvm-c45ec53e7b852c1d874b6ffac11ce71ca21415dd.zip
llvm-c45ec53e7b852c1d874b6ffac11ce71ca21415dd.tar.gz
llvm-c45ec53e7b852c1d874b6ffac11ce71ca21415dd.tar.bz2
[SystemZ] [z/OS] Use assignCalleeSavedSpillSlots() to mark handle special registers in CSR list instead of determineCalleeSave
This PR moves the handling of special registers that need to be saved/restored in the prolog/epilog respectively from determineCalleeSaves to assignCalleeSavedSpillSlots. The documentation of the parent function of assignCalleeSavedSpillSlots explicitly allows the modification of the CSI hence adding the special registers (the stack pointer register, the return address register, and the entry point register) to the CSI list at that stage should be permissible. This cleans up the code a bit and makes it so that we do not have to place registers that are not actually considered CSRs by the spec in the CSR list, which is something of a hack. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D125044
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions