[llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 08:58:04 PDT 2025


================
@@ -299,12 +300,12 @@ InstructionCost
 VPPartialReductionRecipe::computeCost(ElementCount VF,
                                       VPCostContext &Ctx) const {
   std::optional<unsigned> Opcode;
-  VPValue *Op = getOperand(0);
+  VPValue *Op = getOperand(1);
----------------
SamTebbs33 wrote:

Done.

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


More information about the llvm-commits mailing list