[PATCH] D107897: [FuncSpec] Don't specialize function which are easy to inline
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 04:41:35 PDT 2021
ChuanqiXu added a comment.
In D107897#2944565 <https://reviews.llvm.org/D107897#2944565>, @snehasish wrote:
>> Let me sure if I understand your words correctly. It looks like that you are asking: with function specialization, how the compile-time, code-sizes and performance changes?
>> There are results in `D93838`. Simply, the compile-time and code-size change is not aggressive. And the performance change mainly good for 500.mcf_r by 10%.
>
> I was asking if there is a broader characterization <https://reviews.llvm.org/D36432#:~:text=Benchmark,%23%20Specialized%20Funcs> for this work like the 2017 patch contained.
Here is the result:
| benchamrk | specialized number before this patch | specialized number after this patch |
| --------------- | ------------------------------------ | |
| 500.perlbench_r | 7 | 5 |
| 502.gcc_r | 45 | 28 |
| 505.mcf_r | 2 | 2 |
| 525.x264_r | 2 | 0 |
| 557.xz_r | 4 | 4 |
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107897/new/
https://reviews.llvm.org/D107897
More information about the llvm-commits
mailing list