Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7 |
|
#
2d6ec146 |
| 02-Dec-2022 |
Kazu Hirata <kazu@google.com> |
[ModuleInliner] Add MLPriority
This patch adds MLPriority as the first step toward the ML-based function inlining with the module inliner.
For now, MLPriority is completely identical to CostPriorit
[ModuleInliner] Add MLPriority
This patch adds MLPriority as the first step toward the ML-based function inlining with the module inliner.
For now, MLPriority is completely identical to CostPriority.
Once this patch lands, I'm planning to:
- integrate NoInferenceModelRunner,
- memoize the priority computation so that the priority remains the same for given values of metrics even with the noise injected during training, and
- port/take more features into account.
Differential Revision: https://reviews.llvm.org/D139140
show more ...
|
#
0417b9d6 |
| 02-Dec-2022 |
Kazu Hirata <kazu@google.com> |
[Inline] Add a basic test for the module inliner
The new test ensures that the module inliner works with all currently supported priority modes.
Different priority modes result in no difference in
[Inline] Add a basic test for the module inliner
The new test ensures that the module inliner works with all currently supported priority modes.
Different priority modes result in no difference in terms of the output for these simple cases, so this is more of a "better than nothing" test.
Differential Revision: https://reviews.llvm.org/D139222
show more ...
|