[llvm] 370ea1a - [SLP][NFC]Fix comment, NFC.

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 07:14:25 PST 2022


Author: Alexey Bataev
Date: 2022-02-09T07:14:14-08:00
New Revision: 370ea1a19928a4b40fea929ae84fe6e3870ac3c6

URL: https://github.com/llvm/llvm-project/commit/370ea1a19928a4b40fea929ae84fe6e3870ac3c6
DIFF: https://github.com/llvm/llvm-project/commit/370ea1a19928a4b40fea929ae84fe6e3870ac3c6.diff

LOG: [SLP][NFC]Fix comment, NFC.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 213fbf2ed38ef..ad047871046b9 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -761,11 +761,7 @@ static Optional<int> getInsertIndex(Value *InsertInst, unsigned Offset) {
   return Index;
 }
 
-/// Reorders the list of scalars in accordance with the given \p Order and then
-/// the \p Mask. \p Order - is the original order of the scalars, need to
-/// reorder scalars into an unordered state at first according to the given
-/// order. Then the ordered scalars are shuffled once again in accordance with
-/// the provided mask.
+/// Reorders the list of scalars in accordance with the given \p Mask.
 static void reorderScalars(SmallVectorImpl<Value *> &Scalars,
                            ArrayRef<int> Mask) {
   assert(!Mask.empty() && "Expected non-empty mask.");


        


More information about the llvm-commits mailing list