mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
If only have function profile, don't print out "not executed" for all of the blocks :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e717646d7
commit
367373053b
@ -64,6 +64,7 @@ namespace {
|
||||
<< " times.\n;;;\n";
|
||||
}
|
||||
virtual void emitBasicBlockAnnot(const BasicBlock *BB, std::ostream &OS) {
|
||||
if (BlockFreqs.empty()) return;
|
||||
if (unsigned Count = BlockFreqs[BB])
|
||||
OS << ";;; Executed " << Count << " times.\n";
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user