Fix a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-07-17 22:41:16 +00:00
parent 763c066dca
commit 3a79975169

View File

@ -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;