[llvm] r237572 - [LoopAccesses] Debug improvement
Adam Nemet
anemet at apple.com
Mon May 18 08:36:52 PDT 2015
Author: anemet
Date: Mon May 18 10:36:52 2015
New Revision: 237572
URL: http://llvm.org/viewvc/llvm-project?rev=237572&view=rev
Log:
[LoopAccesses] Debug improvement
Report pointers with unknown bounds.
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=237572&r1=237571&r2=237572&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp Mon May 18 10:36:52 2015
@@ -344,6 +344,7 @@ bool AccessAnalysis::canCheckPtrAtRT(
DEBUG(dbgs() << "LAA: Found a runtime check ptr:" << *Ptr << '\n');
} else {
+ DEBUG(dbgs() << "LAA: Can't find bounds for ptr:" << *Ptr << '\n');
CanDoRT = false;
}
}
More information about the llvm-commits
mailing list