[llvm] [RISCV] Add TunePreferAscendingLoadStore for SpacemiT X60 LD/ST fusion (PR #186967)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 01:06:07 PDT 2026


================
@@ -2038,6 +2038,12 @@ def TuneVXRMPipelineFlush
     : RISCVSimpleTuneFeature<"vxrm-pipeline-flush", "HasVXRMPipelineFlush",
                              "true", "VXRM writes causes pipeline flush">;
 
+def TunePreferAscendingLoadStore
+    : RISCVSimpleTuneFeature<"prefer-ascending-load-store",
+                             "HasPreferAscendingLoadStore", "true",
----------------
wangpc-pp wrote:

`HasPreferAscendingLoadStore`->`PreferAscendingLoadStore`. You don't need `Has` here, just like `PreferVsetvliOverReadVLENB` and others.

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


More information about the llvm-commits mailing list