mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
[LAA-memchecks] Comment improvement
I forgot to roll this into r231816. It was requested by Hal in D8122. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7212f8bb52
commit
73dff35fac
@ -1111,7 +1111,7 @@ void LoopAccessInfo::analyzeLoop(const ValueToValueMap &Strides) {
|
|||||||
if (NumComparisons == 0 && NeedRTCheck)
|
if (NumComparisons == 0 && NeedRTCheck)
|
||||||
NeedRTCheck = false;
|
NeedRTCheck = false;
|
||||||
|
|
||||||
// Check that we did not find an unsizeable pointer.
|
// Check that we found the bounds for the pointer.
|
||||||
if (CanDoRT)
|
if (CanDoRT)
|
||||||
DEBUG(dbgs() << "LAA: We can perform a memory runtime check if needed.\n");
|
DEBUG(dbgs() << "LAA: We can perform a memory runtime check if needed.\n");
|
||||||
else if (NeedRTCheck) {
|
else if (NeedRTCheck) {
|
||||||
@ -1144,7 +1144,7 @@ void LoopAccessInfo::analyzeLoop(const ValueToValueMap &Strides) {
|
|||||||
|
|
||||||
CanDoRT = Accesses.canCheckPtrAtRT(PtrRtCheck, NumComparisons, SE,
|
CanDoRT = Accesses.canCheckPtrAtRT(PtrRtCheck, NumComparisons, SE,
|
||||||
TheLoop, Strides, true);
|
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) {
|
if (!CanDoRT && NumComparisons > 0) {
|
||||||
emitAnalysis(LoopAccessReport()
|
emitAnalysis(LoopAccessReport()
|
||||||
<< "cannot check memory dependencies at runtime");
|
<< "cannot check memory dependencies at runtime");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user