[llvm] [VPlan] Replace PhiR operand of ComputeRdxResult with VPIRFlags. (PR #174026)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 13 13:59:11 PST 2026


================
@@ -8790,8 +8792,8 @@ void LoopVectorizationPlanner::addReductionResultComputation(
         PhiR->setOperand(1, Extnd->getVPSingleValue());
 
       // Update ComputeReductionResult with the truncated exiting value and
-      // extend its result.
-      FinalReductionResult->setOperand(1, Trunc);
+      // extend its result. Operand 0 provides the value to be reduced.
----------------
fhahn wrote:

done thanks

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


More information about the llvm-commits mailing list