mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 22:46:20 +00:00
[LAA] Include function name in debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
081edeca2f
commit
728165286f
@ -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…
x
Reference in New Issue
Block a user