summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2015-03-10 19:12:41 +0000
committerAdam Nemet <anemet@apple.com>2015-03-10 19:12:41 +0000
commit949e91a6fae4eb908e0a8226bcb3fc9d1a79574f (patch)
tree2affb69b54491e5a4630c658779eb34b073b93c6 /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parent267e12f71455ac85c0b9c32c6ffc4892d873826a (diff)
downloadbcm5719-llvm-949e91a6fae4eb908e0a8226bcb3fc9d1a79574f.tar.gz
bcm5719-llvm-949e91a6fae4eb908e0a8226bcb3fc9d1a79574f.zip
[LAA-memchecks] Comment improvement
I forgot to roll this into r231816. It was requested by Hal in D8122. llvm-svn: 231821
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/LoopAccessAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index 4bedccf8d01..7201a93f12a 100644
--- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -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");
OpenPOWER on IntegriCloud