File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8644,8 +8644,10 @@ static void addExitUsersForFirstOrderRecurrences(
8644
8644
if (ExitIRI->getOperand (0 ) != FOR)
8645
8645
continue ;
8646
8646
// 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.
8649
8651
// TODO: Consider vscale_range info and UF.
8650
8652
if (LoopVectorizationPlanner::getDecisionAndClampRange (IsScalableOne,
8651
8653
Range))
You can’t perform that action at this time.
0 commit comments