mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
[Attributor][NFC] Improve debug message
This commit is contained in:
parent
e0376489be
commit
9af8136f8d
@ -7705,10 +7705,12 @@ static bool runAttributorOnFunctions(InformationCache &InfoCache,
|
||||
A.identifyDefaultAbstractAttributes(*F);
|
||||
}
|
||||
|
||||
bool Changed = A.run() == ChangeStatus::CHANGED;
|
||||
ChangeStatus Changed = A.run();
|
||||
assert(!verifyModule(*Functions.front()->getParent(), &errs()) &&
|
||||
"Module verification failed!");
|
||||
return Changed;
|
||||
LLVM_DEBUG(dbgs() << "[Attributor] Done with " << Functions.size()
|
||||
<< " functions, result: " << Changed << ".\n");
|
||||
return Changed == ChangeStatus::CHANGED;
|
||||
}
|
||||
|
||||
PreservedAnalyses AttributorPass::run(Module &M, ModuleAnalysisManager &AM) {
|
||||
|
Loading…
Reference in New Issue
Block a user