[llvm] [AMDGPU][MIR] Serialize SpillPhysVGPRs (PR #113129)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 14:07:54 PDT 2024


================
@@ -275,6 +275,7 @@ struct SIMachineFunctionInfo final : public yaml::MachineFunctionInfo {
   // TODO: 10 may be a better default since it's the maximum.
   unsigned Occupancy = 0;
 
+  SmallVector<StringValue, 2> SpillPhysVGPRS;
----------------
arsenm wrote:

I see the name was copied from the existing MFI field, but this is not a good name. We ought to rename this to reflect the special usage; this isn't just any spilled physical vgprs 

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


More information about the llvm-commits mailing list