[llvm] [MIR] Serialize MachineFrameInfo::isCalleeSavedInfoValid() (PR #90561)

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 11:58:18 PDT 2024


dtellenbach wrote:

> > > Can we just print the empty list in this case?
> > 
> > 
> > That wouldn't help because the logic in MIRParser would still not find any callee-saved info and set it as not valid.
> 
> Would an empty stack list, `isCalleeSavedInfoValid: true` and `-run-pass none` test the right thing?

Oh yes, testing is no issue. I understood the question as can't we omit `isCalleeSavedInfoValid` when just using an empty stack list.

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


More information about the llvm-commits mailing list