Skip to content

Commit b38c8ba

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

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
@@ -8948,8 +8948,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
89488948
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
89498949
RecurKind Kind = RdxDesc.getRecurrenceKind();
89508950
assert(
8951-
(!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
8952-
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
8951+
!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
8952+
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
89538953
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
89548954

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

0 commit comments

Comments
 (0)