Skip to content

Commit 84202da

Browse files
committed
[Comment] Update comment
1 parent 42ca76f commit 84202da

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
@@ -8646,8 +8646,10 @@ static void addExitUsersForFirstOrderRecurrences(
86468646
if (ExitIRI->getOperand(0) != FOR)
86478647
continue;
86488648
// For VF vscale x 1, if vscale = 1, we are unable to extract the
8649-
// penultimate value of the recurrence. Instead, we can extract the last
8650-
// element directly from VPInstruction::FirstOrderRecurrenceSplice.
8649+
// penultimate value of the recurrence. Instead, we rely on function
8650+
// addUsersInExitBlocks to extract the last element from the result of
8651+
// VPInstruction::FirstOrderRecurrenceSplice by leaving the user of the
8652+
// recurrence phi in ExitUsersToFix.
86518653
// TODO: Consider vscale_range info and UF.
86528654
if (LoopVectorizationPlanner::getDecisionAndClampRange(IsScalableOne,
86538655
Range))

0 commit comments

Comments
 (0)