[llvm] [AArch64] Initial compiler support for SVE unwind on Windows. (PR #138609)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 22:16:35 PDT 2025


================
@@ -2757,10 +2853,27 @@ StackOffset AArch64FrameLowering::resolveFrameOffsetReference(
   }
 
   StackOffset ScalableOffset = {};
-  if (UseFP && !(isFixed || isCSR))
-    ScalableOffset = -SVEStackSize;
-  if (!UseFP && (isFixed || isCSR))
-    ScalableOffset = SVEStackSize;
+  bool FPAfterSVECalleeSaves =
----------------
efriedma-quic wrote:

Added a test for stack-frame-layout.  Added the assert for resolveFrameOffsetReference (as you note, a frame index should never refer to a CSR in this context).

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


More information about the llvm-commits mailing list