We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d5697f commit cb616f8Copy full SHA for cb616f8
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2461,7 +2461,7 @@ 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 = getOperand(1)->getDefiningRecipe();
2465
assert((isa<VPReductionPHIRecipe>(AccumulatorRecipe) ||
2466
isa<VPPartialReductionRecipe>(AccumulatorRecipe)) &&
2467
"Unexpected operand order for partial reduction recipe");
0 commit comments