[PATCHES] A module inliner pass with a greedy call site queue

Chandler Carruth chandlerc at google.com
Sun Aug 3 23:51:12 PDT 2014


Just a brief note...

On Sun, Aug 3, 2014 at 11:42 PM, Jiangning Liu <liujiangning1 at gmail.com>
wrote:

> 1. I measured code size impact by Yin's patch, overall I don't see code
> size regression.
>
> 1) For the following cpp program in SPEC, we have the following data.
>
> -O2 result:
>
> spec old_text_section old_data_section new_text_section new_text_section
> text_percentage data_percentage
> 252.eon 302848 2232 297301 2312 -1.83% 3.58%
>  450.soplex 366474 1536 389164 1656 6.19% 7.81%
> 453.povray 898032 12632 850444 12632 -5.30% 0.00%
> 471.omnetpp 685516 9136 693349 9128 1.14% -0.09%
> 473.astar 38999 860 41011 860 5.16% 0.00%
> 483.xalancbmk 4282478 139376 4414286 139376 3.08% 0.00%
> sum 6574347 165772 6685555 165964 1.69% 0.12%
>

SPEC is highly misleading w.r.t. code size. Also, there are several
regressions in code size in addition to improvements. It would be useful to
get measurements from larger code bases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140803/3e08325b/attachment.html>


More information about the llvm-commits mailing list