[PATCH] Fix typo in SLPVectorizer.cpp

Arch D. Robison arch.robison at intel.com
Mon Mar 24 14:49:54 PDT 2014


  Updated to include another typo.  Should the two typos be in separate patches?

Hi #llvm,

http://llvm-reviews.chandlerc.com/D3154

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3154?vs=8046&id=8064#toc

Files:
  SLPVectorizer.cpp

Index: SLPVectorizer.cpp
===================================================================
--- SLPVectorizer.cpp
+++ SLPVectorizer.cpp
@@ -1996,7 +1996,7 @@
   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;
@@ -2175,7 +2175,7 @@
     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");
       R.vectorizeTree();
 
       // Move to the next bundle.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3154.2.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140324/92a6806b/attachment.bin>


More information about the llvm-commits mailing list