SLPVectorizer: Fix typos
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 28 Mar 2014 17:21:27 +0000 (17:21 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 28 Mar 2014 17:21:27 +0000 (17:21 +0000)
Patch by Arch D. Robison!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205019 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/SLPVectorizer.cpp

index 598e21d34ea9351e8dfdee1d69ac7ccea8d79896..6d1c2c0ffee11d67d5659dad255ea168f0cc1716 100644 (file)
@@ -1998,7 +1998,7 @@ bool SLPVectorizer::vectorizeStoreChain(ArrayRef<Value *> Chain,
   if (!isPowerOf2_32(Sz) || VF < 2)
     return false;
 
-  // Keep track of values that were delete by vectorizing in the loop below.
+  // Keep track of values that were deleted by vectorizing in the loop below.
   SmallVector<WeakVH, 8> TrackValues(Chain.begin(), Chain.end());
 
   bool Changed = false;
@@ -2182,7 +2182,7 @@ bool SLPVectorizer::tryToVectorizeList(ArrayRef<Value *> VL, BoUpSLP &R,
     int Cost = R.getTreeCost();
 
     if (Cost < -SLPCostThreshold) {
-      DEBUG(dbgs() << "SLP: Vectorizing pair at cost:" << Cost << ".\n");
+      DEBUG(dbgs() << "SLP: Vectorizing list at cost:" << Cost << ".\n");
       Value *VectorizedRoot = R.vectorizeTree();
 
       // Reconstruct the build vector by extracting the vectorized root. This