[PATCH] D93838: [SCCP] Add Function Specialization pass

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 01:27:54 PDT 2021


ChuanqiXu added a comment.

I just runned the newest revision with the SPEC2017 nitrate (without 548.exchange2_r). The number  of default iteration limits is one. Below is the results. The overall results look good to me.

Performance:
I observed that 505.mcf_r get 10% increment, which is consistent with previous experiment.
Then I didn't find increment for 520.omnetpp_r nor regression. We need to explore it further.
Then there is no other observable changes for other benchmarks

Compile-time:

| benchmark       | compile-time change with limiting 1 iteration | Note                                                    |
| --------------- | --------------------------------------------- | ------------------------------------------------------- |
| 500.perlbench_r | 2%                                            |                                                         |
| 502.gcc_r       | 6%                                            |                                                         |
| 505.mcf_r       | 19%                                           | The total compile time for 505.mcf_r is relatively fast |
| 520.omnetpp_r   | 3%                                            |                                                         |
| 523.xalancbmk_r | 3%                                            |                                                         |
|

No observable changes for other benchmarks.

Code Sizes:

| benchmark       | Code Size change with limiting 1 iteration |
| --------------- | ------------------------------------------ |
| 505.mcf_r       | 14%                                        |
| 523.xalancbmk_r | 2%                                         |
|


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

https://reviews.llvm.org/D93838



More information about the llvm-commits mailing list