[llvm] [AArch64] Improve scheduling latency into Bundles (PR #86310)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 01:18:15 PDT 2024


================
@@ -235,7 +235,9 @@ class TargetSubtargetInfo : public MCSubtargetInfo {
   // and UseOpIdx are the indices of the operands in Def and Use, respectively.
   // Otherwise, either may be -1.
   virtual void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use,
-                                     int UseOpIdx, SDep &Dep) const {}
+                                     int UseOpIdx, SDep &Dep,
+                                     const TargetSchedModel *SchedModel) const {
----------------
david-arm wrote:

Fair enough, that seems like a sensible argument to me!

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


More information about the llvm-commits mailing list