[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:09 PDT 2025


================
@@ -3319,6 +3318,7 @@ static void computeCalleeSaveRegisterPairs(
       ByteOffset += StackFillDir * StackHazardSize;
     LastReg = RPI.Reg1;
 
+    bool NeedsWinCFI = needsWinCFI(MF);
----------------
MacDue wrote:

nit: Keep this at the top of the function (this is now in a loop). 

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


More information about the llvm-commits mailing list