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 e6d4259 commit b38c8baCopy full SHA for b38c8ba
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8948,8 +8948,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
8948
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
8949
RecurKind Kind = RdxDesc.getRecurrenceKind();
8950
assert(
8951
- (!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
8952
- !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
+ !RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
+ !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
8953
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
8954
8955
// Collect the chain of "link" recipes for the reduction starting at PhiR.
0 commit comments