summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2015-01-09 22:15:06 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2015-01-09 22:15:06 +0000
commitd9ade185b9423d954cede8237e18b7d1c9455102 (patch)
tree38e7ca7c1305a990d9c19aa0272e5b61717b42ac /llvm/lib
parentdcc6e5bc0365f484a78408e1841d1c81e32cd96c (diff)
downloadbcm5719-llvm-d9ade185b9423d954cede8237e18b7d1c9455102.tar.gz
bcm5719-llvm-d9ade185b9423d954cede8237e18b7d1c9455102.zip
Update comment.
llvm-svn: 225553
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index db42251fac2..9281bcb2c51 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -1031,8 +1031,8 @@ void BoUpSLP::buildTree_rec(ArrayRef<Value *> VL, unsigned Depth) {
}
}
- // If any of the scalars appears in the table OR it is marked as a value that
- // needs to stat scalar then we need to gather the scalars.
+ // If any of the scalars is marked as a value that needs to stay scalar then
+ // we need to gather the scalars.
for (unsigned i = 0, e = VL.size(); i != e; ++i) {
if (MustGather.count(VL[i])) {
DEBUG(dbgs() << "SLP: Gathering due to gathered scalar.\n");
OpenPOWER on IntegriCloud