Skip to content

Commit 6fa07a8

Browse files
committed
[LV] Document selectEpilogueVectorizationFactor (NFC).
Add missing documentation for selectEpilogueVectorizationFactor. Suggested as independent improvement in D143938.
1 parent 5a9abe8 commit 6fa07a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,9 @@ class LoopVectorizationCostModel {
11991199
VectorizationFactor
12001200
selectVectorizationFactor(const ElementCountSet &CandidateVFs);
12011201

1202+
/// \return The most profitable vectorization factor and the cost of that VF
1203+
/// for vectorizing the epilogue. Returns VectorizationFactor::Disabled if
1204+
/// epilogue vectorization is not supported for the loop.
12021205
VectorizationFactor
12031206
selectEpilogueVectorizationFactor(const ElementCount MaxVF,
12041207
const LoopVectorizationPlanner &LVP);

0 commit comments

Comments
 (0)