[llvm] [VPlan] Introduce ComputeReductionResult VPInstruction opcode. (PR #70253)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 1 01:56:41 PST 2024


================
@@ -8973,7 +8821,8 @@ VPlanPtr LoopVectorizationPlanner::buildVPlan(VFRange &Range) {
 void LoopVectorizationPlanner::adjustRecipesForReductions(
----------------
ayalz wrote:

Documentation should expand, e.g., to explain something like:
`// A ComputeReductionResult recipe is added to the middle block, also for in-loop reductions which conmpute their result in-loop, because this recipe currently takes care of generating the subsequent bc.merge.rdx phi which applies to all reductions.`

https://github.com/llvm/llvm-project/pull/70253


More information about the llvm-commits mailing list