[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 26 10:01:42 PDT 2024


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

Note this also fixes the best VF.

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


More information about the llvm-commits mailing list