Skip to content

Commit 91c63c6

Browse files
committed
!fixup fix typo
1 parent a0a2306 commit 91c63c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7275,7 +7275,7 @@ static void fixReductionScalarResumeWhenVectorizingEpilog(
72757275

72767276
/// Add branch weight metadata, if the \p Plan's middle block is terminated by a
72777277
/// BranchOnCond recipe.
7278-
static void addBranchWeigthToMiddleTerminator(VPlan &Plan, ElementCount VF,
7278+
static void addBranchWeightToMiddleTerminator(VPlan &Plan, ElementCount VF,
72797279
Loop *OrigLoop) {
72807280
// 4. Adjust branch weight of the branch in the middle block.
72817281
Instruction *LatchTerm = OrigLoop->getLoopLatch()->getTerminator();
@@ -7321,7 +7321,7 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
73217321
VPlanTransforms::convertToConcreteRecipes(BestVPlan,
73227322
*Legal->getWidestInductionType());
73237323

7324-
addBranchWeigthToMiddleTerminator(BestVPlan, BestVF, OrigLoop);
7324+
addBranchWeightToMiddleTerminator(BestVPlan, BestVF, OrigLoop);
73257325
VPlanTransforms::dissolveLoopRegions(BestVPlan);
73267326
// Perform the actual loop transformation.
73277327
VPTransformState State(&TTI, BestVF, LI, DT, ILV.AC, ILV.Builder, &BestVPlan,

0 commit comments

Comments
 (0)