[llvm] [CodeGen] Distinguish zero-sized call frames from no call frame in MachineBB (PR #106964)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 00:19:23 PDT 2024


================
@@ -3837,11 +3837,11 @@ void MachineVerifier::verifyStackFrame() {
       BBState.ExitIsSetup = BBState.EntryIsSetup;
     }
 
-    if ((int)MBB->getCallFrameSize() != -BBState.EntryValue) {
+    if ((int)MBB->getCallFrameSizeOrZero() != -BBState.EntryValue) {
----------------
ritter-x2a wrote:

Ping, @jayfoad 

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


More information about the llvm-commits mailing list