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 3971398 commit a3ff0f0Copy full SHA for a3ff0f0
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9144,8 +9144,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
9144
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
9145
RecurKind Kind = RdxDesc.getRecurrenceKind();
9146
assert(
9147
- (!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9148
- !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
+ !RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
+ !RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
9149
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
9150
9151
// Collect the chain of "link" recipes for the reduction starting at PhiR.
0 commit comments