Skip to content

Commit 734da15

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

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
@@ -9451,8 +9451,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
94519451
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
94529452
RecurKind Kind = RdxDesc.getRecurrenceKind();
94539453
assert(
9454-
(!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9455-
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
9454+
!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
9455+
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
94569456
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
94579457

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

0 commit comments

Comments
 (0)