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(
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))
You can’t perform that action at this time.
0 commit comments