[llvm] [VPlan] Update getBestPlan to return VF, use also for epilogue vec. (PR #98821)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 04:22:07 PDT 2024
================
@@ -7178,12 +7177,10 @@ VPlan &LoopVectorizationPlanner::getBestPlan() const {
VectorizationFactor CurrentFactor(VF, Cost, ScalarCost);
if (isMoreProfitable(CurrentFactor, BestFactor)) {
BestFactor = CurrentFactor;
- BestPlan = &*P;
----------------
fhahn wrote:
Done, thanks!
https://github.com/llvm/llvm-project/pull/98821
More information about the llvm-commits
mailing list