[llvm] r186541 - Fix a comment.

Nadav Rotem nrotem at apple.com
Wed Jul 17 15:41:16 PDT 2013


Author: nadav
Date: Wed Jul 17 17:41:16 2013
New Revision: 186541

URL: http://llvm.org/viewvc/llvm-project?rev=186541&view=rev
Log:
Fix a 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=186541&r1=186540&r2=186541&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Wed Jul 17 17:41:16 2013
@@ -979,7 +979,7 @@ bool BoUpSLP::isConsecutiveAccess(Value
   if (!PtrA || !PtrB || (ASA != ASB))
     return false;
 
-  // Check that A and B are of the same type.
+  // Make sure that A and B are different pointers of the same type.
   if (PtrA == PtrB || PtrA->getType() != PtrB->getType())
     return false;
 





More information about the llvm-commits mailing list