summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
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
commit43639e8492225d7598a6bb20a41d2244dbb33eaf (patch)
tree80d5e8b1414b9b656660ce3adf9066943b85a8d9 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parentd2eb07acaeda397dbd645cb0c4fa168d889d34f6 (diff)
downloadbcm5719-llvm-43639e8492225d7598a6bb20a41d2244dbb33eaf.tar.gz
bcm5719-llvm-43639e8492225d7598a6bb20a41d2244dbb33eaf.zip
Fix a comment.
llvm-svn: 186541
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 78f7783328d..f0a5e459097 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;
OpenPOWER on IntegriCloud