From 43639e8492225d7598a6bb20a41d2244dbb33eaf Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Wed, 17 Jul 2013 22:41:16 +0000 Subject: [PATCH] Fix a comment. llvm-svn: 186541 --- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 78f7783328db..f0a5e4590974 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -979,7 +979,7 @@ bool BoUpSLP::isConsecutiveAccess(Value *A, Value *B) { 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;