================
@@ -299,14 +297,20 @@ class AArch64FunctionInfo final : public 
MachineFunctionInfo {
     TailCallReservedStack = bytes;
   }
 
-  bool hasCalculatedStackSizeSVE() const { return HasCalculatedStackSizeSVE; }
+  void setStackSizeZPR(uint64_t S) {
+    HasCalculatedStackSizeSVE = true;
----------------
sdesmalen-arm wrote:

nit: this function sets `HasCalculatedStackSizeSVE` if only one of the two 
values are set. Is it worth making this `setStackSizeSVE(uint64_t ZPR, uint64_t 
PPR=0)` such that `HasCalculatedStackSizeSVE is set only once?

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