mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
[LAA-memchecks] Comment improvement
I forgot to roll this into r231816. It was requested by Hal in D8122. llvm-svn: 231821
This commit is contained in:
parent
5abcdaa7c0
commit
c3652c7273
@ -1111,7 +1111,7 @@ void LoopAccessInfo::analyzeLoop(const ValueToValueMap &Strides) {
|
||||
if (NumComparisons == 0 && NeedRTCheck)
|
||||
NeedRTCheck = false;
|
||||
|
||||
// Check that we did not find an unsizeable pointer.
|
||||
// Check that we found the bounds for the pointer.
|
||||
if (CanDoRT)
|
||||
DEBUG(dbgs() << "LAA: We can perform a memory runtime check if needed.\n");
|
||||
else if (NeedRTCheck) {
|
||||
@ -1144,7 +1144,7 @@ void LoopAccessInfo::analyzeLoop(const ValueToValueMap &Strides) {
|
||||
|
||||
CanDoRT = Accesses.canCheckPtrAtRT(PtrRtCheck, NumComparisons, SE,
|
||||
TheLoop, Strides, true);
|
||||
// Check that we didn't find an unsizeable pointer.
|
||||
// Check that we found the bounds for the pointer.
|
||||
if (!CanDoRT && NumComparisons > 0) {
|
||||
emitAnalysis(LoopAccessReport()
|
||||
<< "cannot check memory dependencies at runtime");
|
||||
|
Loading…
x
Reference in New Issue
Block a user