Skip to content

Commit 2a6dfde

Browse files
Drop parentheses
comment from Alexey Co-authored-by: Alexey Bataev <[email protected]>
1 parent 871a4f4 commit 2a6dfde

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
@@ -8950,8 +8950,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
89508950
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
89518951
RecurKind Kind = RdxDesc.getRecurrenceKind();
89528952
assert(
8953-
(!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
8954-
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind)) &&
8953+
!RecurrenceDescriptor::isAnyOfRecurrenceKind(Kind) &&
8954+
!RecurrenceDescriptor::isFindLastIVRecurrenceKind(Kind) &&
89558955
"AnyOf and FindLast reductions are not allowed for in-loop reductions");
89568956

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

0 commit comments

Comments
 (0)