This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,...
this patch adds early inlining. As discussed earlier it helps
noticeably to cut down expenses of tree profiling on testcases with
extreme function call overhead (such as tramp3d). It also save memory
on Gerald's testcase and makes GCC module compilation test apparently
tinny bit faster at -O3 (but close to noise). In the future I would
like to have more optimizations in between the early inlining and real
inliing that will make this infrastructure bit more usefull, but at
the moment it seems to solve some side cases and have no measurable
overhead otherwise (even tought we rebuild cgraph edges after the early
passes) so I am enabling it by default now.
- Josh ~~~~~~ Josh Conner
Attachment:
test.c
Description: Binary data
Attachment:
inl-dump.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |