@@ -979,7 +979,7 @@ class LoopVectorizationCostModel {
979979 // / Setup cost-based decisions for user vectorization factor.
980980 // / \return true if the UserVF is a feasible VF to be chosen.
981981 bool selectUserVectorizationFactor (ElementCount UserVF) {
982- collectNonVectorizedSetWideningDecisions (UserVF);
982+ collectNonVectorizedAndSetWideningDecisions (UserVF);
983983 return expectedCost (UserVF).isValid ();
984984 }
985985
@@ -1242,7 +1242,7 @@ class LoopVectorizationCostModel {
12421242 // / Also make a decision on what to do about call instructions in the loop
12431243 // / at that VF -- scalarize, call a known vector routine, or call a
12441244 // / vector intrinsic.
1245- void collectNonVectorizedSetWideningDecisions (ElementCount VF) {
1245+ void collectNonVectorizedAndSetWideningDecisions (ElementCount VF) {
12461246 // Do the analysis once.
12471247 if (VF.isScalar () || Uniforms.contains (VF))
12481248 return ;
@@ -5286,7 +5286,7 @@ LoopVectorizationCostModel::calculateRegisterUsage(ArrayRef<ElementCount> VFs) {
52865286 RegUsage[ClassID] += 1 ;
52875287 }
52885288 } else {
5289- collectNonVectorizedSetWideningDecisions (VFs[J]);
5289+ collectNonVectorizedAndSetWideningDecisions (VFs[J]);
52905290 for (auto *Inst : OpenIntervals) {
52915291 // Skip ignored values for VF > 1.
52925292 if (VecValuesToIgnore.count (Inst))
@@ -7189,7 +7189,7 @@ void LoopVectorizationPlanner::plan(ElementCount UserVF, unsigned UserIC) {
71897189 CM.collectInLoopReductions ();
71907190 for (const auto &VF : VFCandidates) {
71917191 // Collect Uniform and Scalar instructions after vectorization with VF.
7192- CM.collectNonVectorizedSetWideningDecisions (VF);
7192+ CM.collectNonVectorizedAndSetWideningDecisions (VF);
71937193 }
71947194
71957195 buildVPlansWithVPRecipes (ElementCount::getFixed (1 ), MaxFactors.FixedVF );
0 commit comments