[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


================
@@ -365,8 +365,8 @@ class LoopVectorizationPlanner {
   /// Return the best VPlan for \p VF.
   VPlan &getBestPlanFor(ElementCount VF) const;
----------------
ayalz wrote:

```suggestion
  /// Return the VPlan for \p VF.
  VPlan &getPlanFor(ElementCount VF) const;
```
would be more accurate, independent of this patch.

https://github.com/llvm/llvm-project/pull/98821


More information about the llvm-commits mailing list