[llvm] [X86] Avoid shl->mul lowbit-isolate fold on Zen when unprofitable (PR #217776)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 02:11:57 PDT 2026
================
@@ -832,6 +832,12 @@ def TuningPreferMaskRegisters
"Prefer AVX512 mask registers over PTEST/MOVMSK",
[], InlineIgnore>;
+def TuningPreferShlOverBlsiMul
+ : SubtargetFeature<"prefer-shl-over-blsi-mul", "PreferShlOverBlsiMul", "true",
----------------
RKSimon wrote:
agreed, a BMI check should be all we need
https://github.com/llvm/llvm-project/pull/217776
More information about the llvm-commits
mailing list