[llvm] [RISCV] add load/store misched/PostRA subtarget features (PR #149409)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 04:13:07 PDT 2025


================
@@ -1700,6 +1700,18 @@ def TuneNLogNVRGather
 def TunePostRAScheduler : SubtargetFeature<"use-postra-scheduler",
     "UsePostRAScheduler", "true", "Schedule again after register allocation">;
 
+def TuneDisableMISchedLoadClustering : SubtargetFeature<"disable-misched-load-clustering",
+    "NoMISchedLoadClustering", "true", "Disable load clustering in the machine scheduler">;
----------------
wangpc-pp wrote:

You can add `Enable` before the enum, like `EnableMISchedLoadClustering`. So that the auto-generated methods will be like `enableXXX()`.

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


More information about the llvm-commits mailing list