[llvm] [MachineScheduler] Add option to control reordering for store/load clustering (PR #75338)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 11:53:45 PST 2024


================
@@ -348,7 +348,7 @@ class RISCVPassConfig : public TargetPassConfig {
     ScheduleDAGMILive *DAG = nullptr;
     if (EnableMISchedLoadClustering) {
       DAG = createGenericSchedLive(C);
-      DAG->addMutation(createLoadClusterDAGMutation(DAG->TII, DAG->TRI));
+      DAG->addMutation(createLoadClusterDAGMutation(DAG->TII, DAG->TRI, true));
----------------
topperc wrote:

add a comment to label `true` here

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


More information about the llvm-commits mailing list