Skip to content

Commit 370ea1a

Browse files
committed
[SLP][NFC]Fix comment, NFC.
1 parent a464444 commit 370ea1a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -761,11 +761,7 @@ static Optional<int> getInsertIndex(Value *InsertInst, unsigned Offset) {
761761
return Index;
762762
}
763763

764-
/// Reorders the list of scalars in accordance with the given \p Order and then
765-
/// the \p Mask. \p Order - is the original order of the scalars, need to
766-
/// reorder scalars into an unordered state at first according to the given
767-
/// order. Then the ordered scalars are shuffled once again in accordance with
768-
/// the provided mask.
764+
/// Reorders the list of scalars in accordance with the given \p Mask.
769765
static void reorderScalars(SmallVectorImpl<Value *> &Scalars,
770766
ArrayRef<int> Mask) {
771767
assert(!Mask.empty() && "Expected non-empty mask.");

0 commit comments

Comments
 (0)