[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:09 PDT 2026


================
@@ -7828,6 +7850,90 @@ void SIInstrInfo::moveToVALU(SIInstrWorklist &Worklist,
     assert(Worklist.empty() &&
            "Deferred MachineInstr are not supposed to re-populate worklist");
   }
+
+  for (std::pair<MachineInstr *, V2PhysSCopyInfo> &Entry : Worklist.WaterFalls)
----------------
arsenm wrote:

Braces 

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


More information about the llvm-commits mailing list