[llvm] [MachinePipeliner] Improve loop carried dependence analysis (PR #94185)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 23:42:32 PDT 2024


================
@@ -294,6 +294,8 @@ class SwingSchedulerDAG : public ScheduleDAGInstrs {
 
   static bool classof(const ScheduleDAGInstrs *DAG) { return true; }
 
+  bool mayOverlapInLaterIter(const MachineInstr *MIA, const MachineInstr *MIB);
----------------
kasuga-fj wrote:

Can you please unify the names of the arguments?

```suggestion
  bool mayOverlapInLaterIter(const MachineInstr *BaseMI,
                             const MachineInstr *OtherMI);
```

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


More information about the llvm-commits mailing list