diff options
| author | FICTURE7 <FICTURE7@gmail.com> | 2020-09-20 03:00:24 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-19 20:00:24 -0300 |
| commit | f60033e0aaf546d7f56a4925b5aeec76709fb851 (patch) | |
| tree | af6585403754a771dbab824b1739322ef04b3cd8 /ARMeilleure/Diagnostics | |
| parent | 1eea35554c7505dbf521cf9f3cfeeaa0fc7e916f (diff) | |
Implement block placement (#1549)
* Implement block placement
Implement a simple pass which re-orders cold blocks at the end of the
list of blocks in the CFG.
* Set PPTC version
* Use Array.Resize
Address gdkchan's feedback
Diffstat (limited to 'ARMeilleure/Diagnostics')
| -rw-r--r-- | ARMeilleure/Diagnostics/IRDumper.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ARMeilleure/Diagnostics/IRDumper.cs b/ARMeilleure/Diagnostics/IRDumper.cs index 90eb2300..1a2ffae9 100644 --- a/ARMeilleure/Diagnostics/IRDumper.cs +++ b/ARMeilleure/Diagnostics/IRDumper.cs @@ -57,6 +57,11 @@ namespace ARMeilleure.Diagnostics { DumpBlockName(block); + if (block.Frequency == BasicBlockFrequency.Cold) + { + _builder.Append(" cold"); + } + if (block.SuccessorCount > 0) { _builder.Append(" ("); |
