summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-07-17 22:41:16 +0000
committerNadav Rotem <nrotem@apple.com>2013-07-17 22:41:16 +0000
commit3a7997516982117382b9023ea1176fd53caa948d (patch)
treea6540db59814fd57d4113ac07febd70750ccf431 /lib/Transforms
parent763c066dca324ac4b86e7f014fe580ae5ba29fa0 (diff)
downloadllvm-3a7997516982117382b9023ea1176fd53caa948d.tar.gz
llvm-3a7997516982117382b9023ea1176fd53caa948d.tar.bz2
llvm-3a7997516982117382b9023ea1176fd53caa948d.tar.xz
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Vectorize/SLPVectorizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 78f7783328..f0a5e45909 100644
--- a/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/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;