[llvm] r185250 - Update docs.

Nadav Rotem nrotem at apple.com
Fri Jun 28 22:37:19 PDT 2013


Author: nadav
Date: Sat Jun 29 00:37:19 2013
New Revision: 185250

URL: http://llvm.org/viewvc/llvm-project?rev=185250&view=rev
Log:
Update docs.

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=185250&r1=185249&r2=185250&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Sat Jun 29 00:37:19 2013
@@ -47,8 +47,8 @@ using namespace llvm;
 
 static cl::opt<int>
     SLPCostThreshold("slp-threshold", cl::init(0), cl::Hidden,
-                     cl::desc("Only vectorize trees if the gain is above this "
-                              "number. (gain = -cost of vectorization)"));
+                     cl::desc("Only vectorize if you gain more than this "
+                              "number "));
 namespace {
 
 static const unsigned MinVecRegSize = 128;
@@ -697,7 +697,6 @@ int FuncSLP::getTreeCost_rec(ArrayRef<Va
     }
   }
 
-
   // Calculate the extract cost.
   unsigned ExternalUserExtractCost = 0;
   for (unsigned i = 0, e = VL.size(); i < e; ++i)





More information about the llvm-commits mailing list