[llvm] [LV] Increase max VF if vectorized function variants exist (PR #66639)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 08:28:48 PDT 2023


================
@@ -78,6 +78,11 @@ static cl::opt<LoopVectorizeHints::ScalableForceKind>
                 "Scalable vectorization is available and favored when the "
                 "cost is inconclusive.")));
 
+static cl::opt<bool> UseWiderVFIfVariantsPresent(
+    "vectorizer-maximize-bandwidth-if-variant-present", cl::init(true),
----------------
david-arm wrote:

Again, it's not obvious this is a variant of what? How about something like

maximize-vector-bandwidth-for-vector-calls

?

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


More information about the llvm-commits mailing list