[llvm] Fix stack layout for frames larger than 2gb (PR #84114)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 01:36:08 PST 2024


================
@@ -280,7 +280,7 @@ class MachineFrameInfo {
   /// setup/destroy pseudo instructions (as defined in the TargetFrameInfo
   /// class).  This information is important for frame pointer elimination.
   /// It is only valid during and after prolog/epilog code insertion.
-  unsigned MaxCallFrameSize = ~0u;
+  unsigned long MaxCallFrameSize = ~0ul;
----------------
RKSimon wrote:

uint64_t ?

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


More information about the llvm-commits mailing list