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 @@ -8646,8 +8646,10 @@ static void addExitUsersForFirstOrderRecurrences(
8646
8646
if (ExitIRI->getOperand (0 ) != FOR)
8647
8647
continue ;
8648
8648
// 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.
8651
8653
// TODO: Consider vscale_range info and UF.
8652
8654
if (LoopVectorizationPlanner::getDecisionAndClampRange (IsScalableOne,
8653
8655
Range))
You can’t perform that action at this time.
0 commit comments