[llvm] [LV] codegen for tail-folded epilogue loop (PR #208764)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 03:32:57 PDT 2026
================
@@ -8060,6 +8212,15 @@ bool LoopVectorizePass::processLoop(Loop *L) {
// Plan how to best vectorize.
LVP.plan(UserVF, UserIC);
+ if (EpilogueTailFoldingCM.has_value())
+ if (!LVP.planForEpilogueTF(UserVF, UserIC, EpilogueVectorizationForceVF,
----------------
david-arm wrote:
Do we need to pass in `EpilogueVectorizationForceVF` here? It's a global option that should also be accessible from `planForEpilogueTF` and makes it easier to reuse existing epiloguevf related functions like `hasForcedEpilogueVF`.
https://github.com/llvm/llvm-project/pull/208764
More information about the llvm-commits
mailing list