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

Yeah, I wasn't necessarily suggesting that to be done as part of this PR. I 
just spotted it and I'm worried this hides some latent bugs. 

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