[llvm] [ARM] R11 not pushed adjacent to link register with PAC-M and AAPCS f… (PR #87491)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 06:15:10 PDT 2024
================
@@ -305,10 +305,13 @@ def CSR_ATPCS_SplitPush_SwiftTail : CalleeSavedRegs<(sub CSR_ATPCS_SplitPush,
// pointer even for Thumb targets, where split pushes are necessary.
// This AAPCS alternative makes sure the frame index slots match the push
// order in that case.
-def CSR_AAPCS_SplitPush : CalleeSavedRegs<(add LR, R11,
- R7, R6, R5, R4,
- R10, R9, R8,
+def CSR_AAPCS_SplitPush : CalleeSavedRegs<(add R10, R9, R8, R7, R6, R5, R4,
+ LR, R11,
(sequence "D%u", 15, 8))>;
+def CSR_AAPCS_SplitPush_Thumb : CalleeSavedRegs<(add LR, R11,
----------------
ostannard wrote:
This isn't NFC.
https://github.com/llvm/llvm-project/pull/87491
More information about the llvm-commits
mailing list