[PATCH] D124195: [AMDGPU] Separate out custom SGPR spills to VGPR during PEI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 15:41:30 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h:469
   unsigned NumVGPRSpillLanes = 0;
+  unsigned NumVGPRCustomSpillLanes = 0;
   SmallVector<Register, 2> SpillVGPRs;
----------------
Isn't this count implied by SGPRToVGPRCustomSpills.size()? I'd like to avoid multiplying the number of unserialized fields


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124195/new/

https://reviews.llvm.org/D124195



More information about the llvm-commits mailing list