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 e5129b7 commit fed4727Copy full SHA for fed4727
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -619,7 +619,7 @@ Value *VPInstruction::generate(VPTransformState &State) {
619
auto *PhiR = cast<VPReductionPHIRecipe>(getOperand(0));
620
// Get its reduction variable descriptor.
621
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
622
- RecurKind RK = RdxDesc.getRecurrenceKind();
+ [[maybe_unused]] RecurKind RK = RdxDesc.getRecurrenceKind();
623
assert(RecurrenceDescriptor::isFindLastIVRecurrenceKind(RK) &&
624
"Unexpected reduction kind");
625
assert(!PhiR->isInLoop() &&
0 commit comments