projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9822a11
)
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)
llvm-svn: 185250
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index
03b9679
..
d609302
100644
(file)
--- a/
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
llvm/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)