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

Benjamin Maxwell via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 10 09:00:15 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) {
----------------
MacDue wrote:

It's an artificial parameter just to allow separating the changes somewhat. It's removed in the following PR, which uses a flag in the `AArch64FunctionInfo` instead. 

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


More information about the llvm-branch-commits mailing list