Skip to content

Commit 83272e8

Browse files
committed
!fixup address comments, thanks!
1 parent ebd7d2b commit 83272e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,8 @@ class InnerLoopVectorizer {
514514

515515
/// Creates a basic block for the scalar preheader. Both
516516
/// EpilogueVectorizerMainLoop and EpilogueVectorizerEpilogueLoop overwrite
517-
/// the method to create blocks and checks needed for epilogue vectorization.
517+
/// the method to create additional blocks and checks needed for epilogue
518+
/// vectorization.
518519
virtual BasicBlock *createVectorizedLoopSkeleton();
519520

520521
/// Fix the vectorized code, taking care of header phi's, and more.
@@ -697,7 +698,7 @@ class EpilogueVectorizerMainLoop : public InnerLoopAndEpilogueVectorizer {
697698
BFI, PSI, Check, Plan, EPI.MainLoopVF,
698699
EPI.MainLoopVF, EPI.MainLoopUF) {}
699700
/// Implements the interface for creating a vectorized skeleton using the
700-
/// *main loop* strategy (ie the first pass of vplan execution).
701+
/// *main loop* strategy (i.e., the first pass of VPlan execution).
701702
BasicBlock *createVectorizedLoopSkeleton() final;
702703

703704
protected:
@@ -729,7 +730,7 @@ class EpilogueVectorizerEpilogueLoop : public InnerLoopAndEpilogueVectorizer {
729730
TripCount = EPI.TripCount;
730731
}
731732
/// Implements the interface for creating a vectorized skeleton using the
732-
/// *epilogue loop* strategy (ie the second pass of vplan execution).
733+
/// *epilogue loop* strategy (i.e., the second pass of VPlan execution).
733734
BasicBlock *createVectorizedLoopSkeleton() final;
734735

735736
protected:
@@ -2428,7 +2429,6 @@ static void addFullyUnrolledInstructionsToIgnore(
24282429
BasicBlock *InnerLoopVectorizer::createVectorizedLoopSkeleton() {
24292430
// Create a new IR basic block for the scalar preheader.
24302431
createScalarPreheader("");
2431-
24322432
return LoopVectorPreHeader;
24332433
}
24342434

@@ -9431,7 +9431,7 @@ static bool processLoopInVPlanNativePath(
94319431
LVP.addMinimumIterationCheck(BestPlan, VF.Width, /*UF=*/1,
94329432
VF.MinProfitableTripCount);
94339433

9434-
LVP.executePlan(VF.Width, 1, BestPlan, LB, DT, false);
9434+
LVP.executePlan(VF.Width, /*UF=*/1, BestPlan, LB, DT, false);
94359435
}
94369436

94379437
reportVectorization(ORE, L, VF, 1);

0 commit comments

Comments
 (0)