[llvm] r205019 - SLPVectorizer: Fix typos

Arnold Schwaighofer aschwaighofer at apple.com
Fri Mar 28 10:21:27 PDT 2014


Author: arnolds
Date: Fri Mar 28 12:21:27 2014
New Revision: 205019

URL: http://llvm.org/viewvc/llvm-project?rev=205019&view=rev
Log:
SLPVectorizer: Fix typos

Patch by Arch D. Robison!

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=205019&r1=205018&r2=205019&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Fri Mar 28 12:21:27 2014
@@ -1998,7 +1998,7 @@ bool SLPVectorizer::vectorizeStoreChain(
   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(A
     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





More information about the llvm-commits mailing list