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]

Re: [RFC PATCH 0/3] Call summary class


On Mon, Feb 27, 2017 at 05:36:48PM +0100, Martin Jambor wrote:
> Hello,
> 
> the patch sequence in this thread adds a call_summary class, which is
> analogous to function_summary we already have but which gathers
> information about call graph edges, rather than nodes.
> 
> The first patch implements the class itself, the second modifies
> ipa-prop.[ch] and ipa-cp.c to use it instead of a vector indexed by
> edge->uid and the third patch is a semi-related cleanup I spotted
> along the way.
> 
> I have LTO-bootstrapped and tested the patches on x86_64-linux and
> successfully LTO-built Mozilla Firefox with it.  I'll be grateful for
> any comments, otherwise I'll queue the series for the next stage1.
> 

After Honza re-approved the patches in person, I have committed them
as revisions 247557, 247558 and 247559.

Thanks,

Martin

> 
> Martin Jambor (3):
>   call_summary to keep info about cgraph_edges
>   Use call_summary in ipa-prop and ipa-cp
>   Remove ipa_update_after_lto_read
> 
>  gcc/ipa-cp.c              |   4 -
>  gcc/ipa-inline-analysis.c |   2 +-
>  gcc/ipa-inline.c          |   3 -
>  gcc/ipa-profile.c         |   2 +-
>  gcc/ipa-prop.c            |  82 ++++--------------
>  gcc/ipa-prop.h            |  60 +++++++++----
>  gcc/symbol-summary.h      | 214 +++++++++++++++++++++++++++++++++++++++++++++-
>  7 files changed, 273 insertions(+), 94 deletions(-)
> 
> -- 
> 2.11.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]