[PATCH] D63676: Disable hosting MI to hotter basic blocks

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 08:58:33 PDT 2019


NeHuang added a comment.

- Merged to latest code base and compiled with -O3 and PGO
- Collected stats for SPECInt and SPECFP benchmarks (SPEC2017) with baseline and patch.

| **Benchmark ** | **Number of machine instructions hoisted out of loops (Baseline) ** | **Number of machine instructions hoisted out of loops (Patch) ** | **Number of instructions not hoisted to hotter destination (Patch)** |
| SPECInt        | 206914                                                              | 132007                                                           | 476157                                                               |
| SPECFP         | 42591                                                               | 36383                                                            | 68215                                                                |
|

- With the feature enabled, found performance gain for SPEC benchmarks, e.g. 2.1% for perlbench_r and 1.6% for povray_r.




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63676/new/

https://reviews.llvm.org/D63676





More information about the llvm-commits mailing list