[llvm] [VPlan] First step towards VPlan cost modeling. (PR #67934)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 07:43:35 PDT 2024
================
@@ -361,6 +364,9 @@ class LoopVectorizationPlanner {
/// Return the best VPlan for \p VF.
VPlan &getBestPlanFor(ElementCount VF) const;
+ /// Return the most profitable plan.
----------------
fhahn wrote:
Marked as const (same as `computeCost`) and updated to restrict VFs, thanks!
https://github.com/llvm/llvm-project/pull/67934
More information about the llvm-commits
mailing list