================
@@ -4042,8 +4124,11 @@ void 
AArch64FrameLowering::determineCalleeSaves(MachineFunction &MF,
   });
 
   // If any callee-saved registers are used, the frame cannot be eliminated.
+  auto [ZPRLocalStackSize, PPRLocalStackSize] =
+      determineSVEStackSizes(MF, AssignObjectOffsets::No);
+  int64_t SVELocals = ZPRLocalStackSize + PPRLocalStackSize;
----------------
sdesmalen-arm wrote:

```suggestion
  uint64_t SVELocals = ZPRLocalStackSize + PPRLocalStackSize;
```

(same for `SVEStackSize` below)

https://github.com/llvm/llvm-project/pull/142391
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to