[llvm] 700997a - [SLP][NFC]Fix comment, NFC.

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 6 06:39:25 PST 2022


Author: Alexey Bataev
Date: 2022-01-06T06:38:29-08:00
New Revision: 700997aef8c1f2f08c9ac5fca61650b57a01e8b1

URL: https://github.com/llvm/llvm-project/commit/700997aef8c1f2f08c9ac5fca61650b57a01e8b1
DIFF: https://github.com/llvm/llvm-project/commit/700997aef8c1f2f08c9ac5fca61650b57a01e8b1.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 803dabc5e07b..042dfc6be1d1 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -9571,8 +9571,7 @@ bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI,
     return false;
 
   LLVM_DEBUG(dbgs() << "SLP: array mappable to vector: " << *IVI << "\n");
-  // Aggregate value is unlikely to be processed in vector register, we need to
-  // extract scalars into scalar registers, so NeedExtraction is set true.
+  // Aggregate value is unlikely to be processed in vector register.
   return tryToVectorizeList(BuildVectorOpds, R);
 }
 


        


More information about the llvm-commits mailing list