1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix a comment.

llvm-svn: 186541
This commit is contained in:
Nadav Rotem 2013-07-17 22:41:16 +00:00
parent d18dd0a7b0
commit 22f3c7e5fb

View File

@ -979,7 +979,7 @@ bool BoUpSLP::isConsecutiveAccess(Value *A, Value *B) {
if (!PtrA || !PtrB || (ASA != ASB)) if (!PtrA || !PtrB || (ASA != ASB))
return false; 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()) if (PtrA == PtrB || PtrA->getType() != PtrB->getType())
return false; return false;