[llvm-branch-commits] [llvm] [RISCV] Support select optimization (PR #80124)

Pengcheng Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jan 25 19:37:10 PST 2026


================
@@ -1865,6 +1865,10 @@ def TuneOptimizedZeroStrideLoad
                       "true", "Optimized (perform fewer memory operations)"
                       "zero-stride vector load">;
 
+def FeatureEnableSelectOptimize
+    : SubtargetFeature<"enable-select-opt", "EnableSelectOptimize", "true",
+                       "Enable the select optimize pass for select loop heuristics">;
+
----------------
wangpc-pp wrote:

We haven't enabled the pass by default yet, we can add this to GenericOOO when we decide to enable it by default. :-)

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


More information about the llvm-branch-commits mailing list