Skip to content

Commit 27589bd

Browse files
committed
[Comment] Update comment
1 parent 1f9c704 commit 27589bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8644,8 +8644,10 @@ static void addExitUsersForFirstOrderRecurrences(
86448644
if (ExitIRI->getOperand(0) != FOR)
86458645
continue;
86468646
// For VF vscale x 1, if vscale = 1, we are unable to extract the
8647-
// penultimate value of the recurrence. Instead, we can extract the last
8648-
// element directly from VPInstruction::FirstOrderRecurrenceSplice.
8647+
// penultimate value of the recurrence. Instead, we rely on function
8648+
// addUsersInExitBlocks to extract the last element from the result of
8649+
// VPInstruction::FirstOrderRecurrenceSplice by leaving the user of the
8650+
// recurrence phi in ExitUsersToFix.
86498651
// TODO: Consider vscale_range info and UF.
86508652
if (LoopVectorizationPlanner::getDecisionAndClampRange(IsScalableOne,
86518653
Range))

0 commit comments

Comments
 (0)