Update the comment

llvm-svn: 187316
This commit is contained in:
Nadav Rotem 2013-07-27 23:28:47 +00:00
parent 5721735025
commit 3e50c68956
1 changed files with 1 additions and 0 deletions

View File

@ -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");