[PATCH] D149566: [CodeGen] Replace CCState's getNextStackOffset with getStackSize (NFC)

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 07:34:32 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/CallingConvLower.h:178
 
-  unsigned StackOffset;
+  unsigned StackSize;
   Align MaxStackArgAlign;
----------------
Maybe CurrentStackSize would help make it clearer this is a stateful thing which may keep increasing 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149566/new/

https://reviews.llvm.org/D149566



More information about the llvm-commits mailing list