Fix typo. NFCI
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 7 Sep 2019 18:09:09 +0000 (18:09 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 7 Sep 2019 18:09:09 +0000 (18:09 +0000)
llvm-svn: 371317

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

index a613a5a..7fbcb23 100644 (file)
@@ -2621,7 +2621,7 @@ void BoUpSLP::buildTree_rec(ArrayRef<Value *> VL, unsigned Depth,
       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);