mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-07 21:09:21 +00:00
[LAA] Comment how memchecks are codegened
llvm-svn: 245465
This commit is contained in:
parent
9832a30abc
commit
2568349cb6
@ -1668,6 +1668,8 @@ std::pair<Instruction *, Instruction *> LoopAccessInfo::addRuntimeChecks(
|
||||
|
||||
for (const auto &Check : ExpandedChecks) {
|
||||
const PointerBounds &A = Check.first, &B = Check.second;
|
||||
// Check if two pointers (A and B) conflict where conflict is computed as:
|
||||
// start(A) <= end(B) && start(B) <= end(A)
|
||||
unsigned AS0 = A.Start->getType()->getPointerAddressSpace();
|
||||
unsigned AS1 = B.Start->getType()->getPointerAddressSpace();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user