[llvm] r225553 - Update comment.

Michael Zolotukhin mzolotukhin at apple.com
Fri Jan 9 14:15:07 PST 2015


Author: mzolotukhin
Date: Fri Jan  9 16:15:06 2015
New Revision: 225553

URL: http://llvm.org/viewvc/llvm-project?rev=225553&view=rev
Log:
Update comment.

Modified:
    llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=225553&r1=225552&r2=225553&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Fri Jan  9 16:15:06 2015
@@ -1031,8 +1031,8 @@ void BoUpSLP::buildTree_rec(ArrayRef<Val
     }
   }
 
-  // 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");





More information about the llvm-commits mailing list