Serialize ScavengeFI from SIMachineFunctionInfo into yaml.
ScavengeFI is not used outside of the PrologEpilogInserter,
so this shouldn't change anything.
Differential D101367
[AMDGPU] Serialize MFInfo::ScavengeFI sebastian-ne on Apr 27 2021, 7:43 AM. Authored by
Details
Serialize ScavengeFI from SIMachineFunctionInfo into yaml. ScavengeFI is not used outside of the PrologEpilogInserter,
Diff Detail
Event TimelineComment Actions The point that this is only used in PEI is interesting. That almost suggests it doesn't belong here at all but I'm not sure where else you would track it.
Comment Actions
Ah, I was already wondering why it felt so easy. Comment Actions Return error instead of failing assert for non-existing frame index. I’m not quite sure how to create the SMDiagnostic. The resulting error message looks fine, so I hope this is ok. |
This is rougher than I would hope. This isn't a simple integer, it's a frame index. I would hope there would be some syntax to indicate this, and some validation that it is a valid frame object. There's no frame info here at all. e.g. I would expect a string here that looks like a frame index as it appears in an operand