[llvm] [VPlan] Update getBestPlan to return VF, use also for epilogue vec. (PR #98821)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 12:26:53 PDT 2024
================
@@ -7178,12 +7177,10 @@ VPlan &LoopVectorizationPlanner::getBestPlan() const {
VectorizationFactor CurrentFactor(VF, Cost, ScalarCost);
if (isMoreProfitable(CurrentFactor, BestFactor)) {
BestFactor = CurrentFactor;
- BestPlan = &*P;
----------------
ayalz wrote:
nit: can now also drop the {}
https://github.com/llvm/llvm-project/pull/98821
More information about the llvm-commits
mailing list