[llvm] MachineScheduler: Improve instruction clustering (PR #137784)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 01:49:25 PDT 2025


================
@@ -2093,6 +2090,21 @@ void BaseMemOpClusterMutation::clusterNeighboringMemOps(
                       << ", Curr cluster bytes: " << CurrentClusterBytes
                       << "\n");
   }
+
+  // Add cluster group information.
+  // Iterate over all of the equivalence sets.
+  auto &AllClusters = DAG->getClusters();
+  for (auto &I : Clusters) {
----------------
ruiling wrote:

see #139689

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


More information about the llvm-commits mailing list