diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-07-27 23:28:47 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-07-27 23:28:47 +0000 |
commit | 1aaaf3415466d4c59fbab3c4f4ce66bff442e65a (patch) | |
tree | 6650c4a2ce6ae3126ce532db730aa4499fcc1349 | |
parent | ca4d2e60ea36bd4f532ab5d52f5b4394a33be819 (diff) | |
download | external_llvm-1aaaf3415466d4c59fbab3c4f4ce66bff442e65a.zip external_llvm-1aaaf3415466d4c59fbab3c4f4ce66bff442e65a.tar.gz external_llvm-1aaaf3415466d4c59fbab3c4f4ce66bff442e65a.tar.bz2 |
Update the comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187316 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Vectorize/SLPVectorizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 50e37e9..db1a91e 100644 --- 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"); |