Skip to content

Commit bf791ca

Browse files
committed
!fixup add missing comment
1 parent 92a64f9 commit bf791ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,10 @@ class LoopVectorizationPlanner {
486486
/// all profitable VFs in ProfitableVFs.
487487
VectorizationFactor computeBestVF();
488488

489+
/// \return The desired interleave count.
490+
/// If interleave count has been specified by metadata it will be returned.
491+
/// Otherwise, the interleave count is computed and returned. VF and LoopCost
492+
/// are the selected vectorization factor and the cost of the selected VF.
489493
unsigned selectInterleaveCount(VPlan &Plan, ElementCount VF,
490494
InstructionCost LoopCost);
491495

0 commit comments

Comments
 (0)