projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
763c066
)
Fix a comment.
author
Nadav Rotem
<nrotem@apple.com>
Wed, 17 Jul 2013 22:41:16 +0000
(22:41 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Wed, 17 Jul 2013 22:41:16 +0000
(22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186541
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 78f7783328dba6e6ba2b2c8298f65784b703deb1..f0a5e459097487520c3969c902eafd47ce06fc73 100644
(file)
--- 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;