[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
Tue Sep 3 04:36:24 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:
Alright, I'll look for other such cases then and see if I can fix them. Thanks for the insight!
https://github.com/llvm/llvm-project/pull/106964
More information about the llvm-commits
mailing list