forked from OSchip/llvm-project
[LAA] Include function name in debug output
llvm-svn: 258088
This commit is contained in:
parent
5e82324fe4
commit
d8968f0945
|
@ -1305,10 +1305,11 @@ void MemoryDepChecker::Dependence::print(
|
|||
|
||||
bool LoopAccessInfo::canAnalyzeLoop() {
|
||||
// We need to have a loop header.
|
||||
DEBUG(dbgs() << "LAA: Found a loop: " <<
|
||||
TheLoop->getHeader()->getName() << '\n');
|
||||
DEBUG(dbgs() << "LAA: Found a loop in "
|
||||
<< TheLoop->getHeader()->getParent()->getName() << ": "
|
||||
<< TheLoop->getHeader()->getName() << '\n');
|
||||
|
||||
// We can only analyze innermost loops.
|
||||
// We can only analyze innermost loops.
|
||||
if (!TheLoop->empty()) {
|
||||
DEBUG(dbgs() << "LAA: loop is not the innermost loop\n");
|
||||
emitAnalysis(LoopAccessReport() << "loop is not the innermost loop");
|
||||
|
|
Loading…
Reference in New Issue