================
@@ -5536,32 +5538,35 @@ void LoopVectorizationPlanner::plan(
// After making sure that we can get valid results of computeMaxVF, make
// sure that tail-folding for the epilogue loop still valid.
- if (EpilogueTailFoldingCM->computeMaxVF(UserVF, UserIC) &&
- EpilogueTailFoldingCM->foldTailByMasking()) {
- EnabledCMs.push_back(&*EpilogueTailFoldingCM);
+ MaxFactorsTF = EpilogueTailFoldingCM->computeMaxVF(UserVF, UserIC);
----------------
sdesmalen-arm wrote:
I don't think this should be using `UserVF/UserIC`, as those are only relevant
to the default plan (for the main vector loop)
https://github.com/llvm/llvm-project/pull/207815
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits