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 7bd2019 commit 3279186Copy full SHA for 3279186
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2456,7 +2456,8 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2456
: VPSingleDefRecipe(VPDef::VPPartialReductionSC,
2457
ArrayRef<VPValue *>({Op0, Op1}), ReductionInst),
2458
Opcode(Opcode) {
2459
- auto *AccumulatorRecipe = getOperand(1)->getDefiningRecipe();
+ [[maybe_unused]] auto *AccumulatorRecipe =
2460
+ getOperand(1)->getDefiningRecipe();
2461
assert((isa<VPReductionPHIRecipe>(AccumulatorRecipe) ||
2462
isa<VPPartialReductionRecipe>(AccumulatorRecipe)) &&
2463
"Unexpected operand order for partial reduction recipe");
0 commit comments