projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da91817
)
Update docs.
author
Nadav Rotem
<nrotem@apple.com>
Sat, 29 Jun 2013 05:37:19 +0000
(
05:37
+0000)
committer
Nadav Rotem
<nrotem@apple.com>
Sat, 29 Jun 2013 05:37:19 +0000
(
05:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185250
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 03b9679e6cdec237f8f22ddfb3b1f5cc6b02aff2..d609302522e8906193b4319f90e3c087f4ea5261 100644
(file)
--- a/
lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-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<Value *> VL, unsigned Depth) {
}
}
-
// Calculate the extract cost.
unsigned ExternalUserExtractCost = 0;
for (unsigned i = 0, e = VL.size(); i < e; ++i)