Skip to content

Commit 71b6555

Browse files
committed
[LV] Fix comment
1 parent c49546b commit 71b6555

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
@@ -5019,8 +5019,8 @@ LoopVectorizationCostModel::selectInterleaveCount(ElementCount VF,
50195019
1u, std::min(AvailableTC / (EstimatedVF * 2), MaxInterleaveCount)));
50205020

50215021
if (PSE.getSE()->getSmallConstantTripCount(TheLoop) > 0) {
5022-
// If the estimated trip count is actually an exact one we select between
5023-
// two prospective ICs, where
5022+
// If the best known trip count is exact, we select between two
5023+
// prospective ICs, where
50245024
//
50255025
// 1) the aggressive IC is capped by the trip count divided by VF
50265026
// 2) the conservative IC is capped by the trip count divided by (VF * 2)

0 commit comments

Comments
 (0)