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

Akshat Oke via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 02:06:14 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;
----------------
optimisan wrote:

iinw these are VGPRs used for CSR or FP/BP SGPR spills. This is also related to `SGPRSpillToPhysicalVGPRLanes` map.

Would `PhysVGPRsForSGPRSpills` still be a bit general?

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


More information about the llvm-commits mailing list