[llvm] r371317 - Fix typo. NFCI

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 7 11:09:09 PDT 2019


Author: rksimon
Date: Sat Sep  7 11:09:09 2019
New Revision: 371317

URL: http://llvm.org/viewvc/llvm-project?rev=371317&view=rev
Log:
Fix typo. NFCI

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

Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=371317&r1=371316&r2=371317&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Sat Sep  7 11:09:09 2019
@@ -2621,7 +2621,7 @@ void BoUpSLP::buildTree_rec(ArrayRef<Val
       return;
     }
     case Instruction::Store: {
-      // Check if the stores are consecutive or of we need to swizzle them.
+      // Check if the stores are consecutive or if we need to swizzle them.
       for (unsigned i = 0, e = VL.size() - 1; i < e; ++i)
         if (!isConsecutiveAccess(VL[i], VL[i + 1], *DL, *SE)) {
           BS.cancelScheduling(VL, VL0);




More information about the llvm-commits mailing list