[PATCH] Fix typo in SLPVectorizer.cpp

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

Hi #llvm,

When some logic in SLPVectorizer was extended from pairs to lists, the word "pair" in a debug message was not likewise changed.  This patch changes the word from "pair" to "list".



Index: SLPVectorizer.cpp
--- SLPVectorizer.cpp
+++ SLPVectorizer.cpp
@@ -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");
       // Move to the next bundle.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3154.1.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140324/eee213d0/attachment.bin>

More information about the llvm-commits mailing list