[llvm] [VPlan] Update scalar induction resume values in VPlan. (PR #110577)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 03:38:04 PST 2024
================
@@ -10243,7 +10288,9 @@ bool LoopVectorizePass::processLoop(Loop *L) {
// The first pass vectorizes the main loop and creates a scalar epilogue
// to be vectorized by executing the plan (potentially with a different
// factor) again shortly afterwards.
- EpilogueLoopVectorizationInfo EPI(VF.Width, IC, EpilogueVF.Width, 1);
+ VPlan &BestEpiPlan = LVP.getPlanFor(EpilogueVF.Width);
----------------
fhahn wrote:
Updated by collecting a set of IVs that need resume values and passing it, thanks
https://github.com/llvm/llvm-project/pull/110577
More information about the llvm-commits
mailing list