Skip to content

Commit 40471da

Browse files
committed
!fixup address comments, thanks
1 parent 4d01d0b commit 40471da

File tree

6 files changed

+278
-207
lines changed

6 files changed

+278
-207
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,9 @@ class LoopVectorizationPlanner {
564564
VPRecipeBuilder &RecipeBuilder,
565565
ElementCount MinVF);
566566

567-
/// Add the runtime checks from \p RTChecks to \p VPlan.
568-
void addRuntimeChecks(VPlan &Plan, GeneratedRTChecks &RTChecks) const;
567+
/// Attach the runtime checks of \p RTChecks to \p Plan.
568+
void attachRuntimeChecks(VPlan &Plan, GeneratedRTChecks &RTChecks,
569+
bool HasBranchWeights) const;
569570

570571
#ifndef NDEBUG
571572
/// \return The most profitable vectorization factor for the available VPlans

0 commit comments

Comments
 (0)