[llvm-branch-commits] [llvm] [AArch64][SME] Support split ZPR and PPR area allocation (PR #142392)

Sander de Smalen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 29 03:14:51 PDT 2025


================
@@ -1251,9 +1260,17 @@ AArch64FrameLowering::getFrameIndexReferenceFromSP(const MachineFunction &MF,
       isTargetWindows(MF) && AFI->getSVECalleeSavedStackSize();
   if (MFI.isScalableStackID(FI)) {
     if (FPAfterSVECalleeSaves &&
-        -ObjectOffset <= (int64_t)AFI->getSVECalleeSavedStackSize())
+        -ObjectOffset <= (int64_t)AFI->getSVECalleeSavedStackSize()) {
----------------
sdesmalen-arm wrote:

(just a drive-by observation not related to this line) the comment on line 1236-1238 says the reference is not guaranteed to be correct for all objects in the presence of VLA-area objects. I wonder if that's still true?

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


More information about the llvm-branch-commits mailing list