[llvm] [AArch64] Use Windows-style prologue/epilogue regardless of CFI. (PR #156467)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 05:21:54 PDT 2025
================
@@ -3334,8 +3334,9 @@ static void computeCalleeSaveRegisterPairs(
break;
case RegPairInfo::FPR64:
if (AArch64::FPR64RegClass.contains(NextReg) &&
- !invalidateWindowsRegisterPairing(RPI.Reg1, NextReg, NeedsWinCFI,
- IsFirst, TRI))
+ !invalidateRegisterPairing(
+ RPI.Reg1, NextReg, IsWindows, NeedsWinCFI,
+ /*NeedsFrameRecord=*/false, IsFirst, TRI))
----------------
MacDue wrote:
Looks like `sme-lazy-save-windows.ll` has changed now that we pass `NeedsFrameRecord` (it's now forcing `x29, x30` for the frame record, rather than `x30, x29`).
https://github.com/llvm/llvm-project/pull/156467
More information about the llvm-commits
mailing list