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

Luke Lau via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 23 03:19:40 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">;
+
----------------
lukel97 wrote:

Should we add this to GenericOOO? AArch64 seems to have it enabled for their generic CPU

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


More information about the llvm-branch-commits mailing list