Skip to content

Commit a3ff0f0

Browse files
Drop parentheses
comment from Alexey Co-authored-by: Alexey Bataev <[email protected]>
1 parent 3971398 commit a3ff0f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9144,8 +9144,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
91449144
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
91459145
RecurKind Kind = RdxDesc.getRecurrenceKind();
91469146
assert(
9147-
(!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9148-
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
9147+
!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9148+
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
91499149
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
91509150

91519151
// Collect the chain of "link" recipes for the reduction starting at PhiR.

0 commit comments

Comments
 (0)