[llvm] [AMDGPU] Generate waterfall for calls with SGPR(inreg) argument (PR #146997)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 08:02:06 PDT 2026


================
@@ -84,6 +90,9 @@ struct SIInstrWorklist {
 
   SetVector<MachineInstr *> &getDeferredList() { return DeferredList; }
 
+  DenseMap<MachineInstr *, V2PhysSCopyInfo> WaterFalls;
+  DenseMap<MachineInstr *, bool> V2SPhyCopiesToErase;
----------------
arsenm wrote:

Compile state should not be stored here. This needs to live in SIFixSGPRCopies 

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


More information about the llvm-commits mailing list