]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Update comment.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 9 Jan 2015 22:15:06 +0000 (22:15 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 9 Jan 2015 22:15:06 +0000 (22:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225553 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/SLPVectorizer.cpp

index db42251fac259c83362a1a764d2f25e2685b7987..9281bcb2c512d955d43da6cf524d1f9e9318b51c 100644 (file)
@@ -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");