[llvm] r231821 - [LAA-memchecks] Comment improvement
Adam Nemet
anemet at apple.com
Tue Mar 10 12:12:41 PDT 2015
Author: anemet
Date: Tue Mar 10 14:12:41 2015
New Revision: 231821
URL: http://llvm.org/viewvc/llvm-project?rev=231821&view=rev
Log:
[LAA-memchecks] Comment improvement
I forgot to roll this into r231816. It was requested by Hal in D8122.
Modified:
llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp?rev=231821&r1=231820&r2=231821&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp Tue Mar 10 14:12:41 2015
@@ -1111,7 +1111,7 @@ void LoopAccessInfo::analyzeLoop(const V
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 V
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");
More information about the llvm-commits
mailing list