From 1aaaf3415466d4c59fbab3c4f4ce66bff442e65a Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sat, 27 Jul 2013 23:28:47 +0000 Subject: Update the comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187316 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.1