From e00343446c842e65160561ba6291723dede37b04 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sat, 29 Jun 2013 05:37:19 +0000 Subject: [PATCH] Update docs. llvm-svn: 185250 --- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 03b9679..d609302 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -47,8 +47,8 @@ using namespace llvm; static cl::opt 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 VL, unsigned Depth) { } } - // Calculate the extract cost. unsigned ExternalUserExtractCost = 0; for (unsigned i = 0, e = VL.size(); i < e; ++i) -- 2.7.4