We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 775d0f3 commit c9b7303Copy full SHA for c9b7303
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2461,7 +2461,8 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2461
: VPSingleDefRecipe(VPDef::VPPartialReductionSC,
2462
ArrayRef<VPValue *>({Op0, Op1}), ReductionInst),
2463
Opcode(Opcode) {
2464
- auto *AccumulatorRecipe = getOperand(1)->getDefiningRecipe();
+ [[maybe_unused]] auto *AccumulatorRecipe =
2465
+ getOperand(1)->getDefiningRecipe();
2466
assert((isa<VPReductionPHIRecipe>(AccumulatorRecipe) ||
2467
isa<VPPartialReductionRecipe>(AccumulatorRecipe)) &&
2468
"Unexpected operand order for partial reduction recipe");
0 commit comments