[llvm-branch-commits] [llvm] [AArch64] Prepare for split ZPR and PPR area allocation (NFCI) (PR #142391)

Sander de Smalen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 10 05:20:06 PDT 2025


================
@@ -4296,10 +4372,20 @@ static bool getSVECalleeSaveSlotRange(const MachineFrameInfo &MFI,
 // Fills in the first and last callee-saved frame indices into
 // Min/MaxCSFrameIndex, respectively.
 // Returns the size of the stack.
-static int64_t determineSVEStackObjectOffsets(MachineFrameInfo &MFI,
-                                              int &MinCSFrameIndex,
-                                              int &MaxCSFrameIndex,
-                                              bool AssignOffsets) {
+static SVEStackSizes
+determineSVEStackObjectOffsets(MachineFunction &MF, bool AssignOffsets,
+                               bool SplitSVEObjects = false) {
----------------
sdesmalen-arm wrote:

nit: maybe move the parameter to the other PR, because at the moment it is never called with `SplitSVEObjects = true`, and so this code cannot be tested.

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


More information about the llvm-branch-commits mailing list