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:
ca4d2e6
)
Update the comment
author
Nadav Rotem
<nrotem@apple.com>
Sat, 27 Jul 2013 23:28:47 +0000
(23:28 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Sat, 27 Jul 2013 23:28:47 +0000
(23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187316
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 50e37e99169d454acf95a59caa4946f8a7a96b28..db1a91ec9e349dd26b6c611d331c782ec0c53a38 100644
(file)
--- a/
lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-900,6
+900,7
@@
int BoUpSLP::getTreeCost() {
// Don't vectorize tiny trees. Small load/store chains or consecutive stores
// of constants will be vectoried in SelectionDAG in MergeConsecutiveStores.
+ // The SelectionDAG vectorizer can only handle pairs (trees of height = 2).
if (VectorizableTree.size() < 3) {
if (!VectorizableTree.size()) {
assert(!ExternalUses.size() && "We should not have any external users");