[llvm] [VPlan] Only use selectVectorizationFactor for cross-check (NFCI). (PR #103033)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 03:48:56 PDT 2024


================
@@ -7217,18 +7198,21 @@ InstructionCost LoopVectorizationPlanner::cost(VPlan &Plan,
   return Cost;
 }
 
-ElementCount LoopVectorizationPlanner::getBestVF() {
+VectorizationFactor LoopVectorizationPlanner::getBestVF() {
----------------
ayalz wrote:

nit (independent): more accurately called `computeBestVF()`, rather than suggesting it is simply retrieved.

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


More information about the llvm-commits mailing list