[llvm] [CodeGen] Distinguish zero-sized call frames from no call frame in MachineBB (PR #106964)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 03:22:06 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) {
----------------
jayfoad wrote:
There was no good reason. It was just an oversight. If no tests failed, then I would not have noticed that there was a problem.
https://github.com/llvm/llvm-project/pull/106964
More information about the llvm-commits
mailing list