[llvm] [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed (NFCI) (PR #113903)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 26 08:32:23 PST 2024


================
@@ -233,7 +233,7 @@ static cl::opt<PreferPredicateTy::Option> PreferPredicateOverEpilogue(
                          "prefers tail-folding, don't attempt vectorization if "
                          "tail-folding fails.")));
 
-static cl::opt<TailFoldingStyle> ForceTailFoldingStyle(
+cl::opt<TailFoldingStyle> ForceTailFoldingStyle(
----------------
alexey-bataev wrote:

I don't think this is the right approach to check ForceTailFoldingStyle, better to use `CM.foldTailWithEVL()` 

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


More information about the llvm-commits mailing list