[llvm] [ARM] R11 not pushed adjacent to link register with PAC-M and AAPCS frame chain fix (PR #82801)

James Westwood via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 03:45:44 PST 2024


================
@@ -963,13 +976,18 @@ void ARMFrameLowering::emitPrologue(MachineFunction &MF,
   } else
     NumBytes = DPRCSOffset;
 
-  if (GPRCS2Size > 0 && STI.splitFramePointerPush(MF)) {
+  // Move past area 2 if following Win_AAPCS_CFGuard calling convention.
----------------
jwestwood921 wrote:

Yes, that's a mistake on my end, thanks for catching it. The comment should refer to the CSR_Win_SplitFP calling convention. 

https://github.com/llvm/llvm-project/pull/82801


More information about the llvm-commits mailing list