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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 08:17:54 PDT 2025


================
@@ -1333,6 +1343,10 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
   void moveToVALUImpl(SIInstrWorklist &Worklist, MachineDominatorTree *MDT,
                       MachineInstr &Inst) const;
 
+  void createWaterFall(MachineInstr *MI, MachineDominatorTree *MDT,
----------------
shiltian wrote:

Can you add document to this function?

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


More information about the llvm-commits mailing list