[llvm] [AArch64] Fix SVE callee-save layout for nounwind functions on Windows (PR #156467)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 08:16:10 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:
Is there a reason to change this to `invalidateRegisterPairing`? IIUC the only difference is the `NeedsFrameRecord` case (which is set to false here).
https://github.com/llvm/llvm-project/pull/156467
More information about the llvm-commits
mailing list