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 dfa355b commit 734da15Copy full SHA for 734da15
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9451,8 +9451,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
9451
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
9452
RecurKind Kind = RdxDesc.getRecurrenceKind();
9453
assert(
9454
- (!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9455
- !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
+ !RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
+ !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
9456
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
9457
9458
// Collect the chain of "link" recipes for the reduction starting at PhiR.
0 commit comments