[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:47 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(
----------------
david-arm wrote:

I feel like this option should really live in LoopVectorize.cpp since it's a cost model issue rather than a legality issue.

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


More information about the llvm-commits mailing list