This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR/66760, ipa-inline-analysis.c compile-time hog
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Paolo Bonzini <pbonzini at redhat dot com>, gcc-patches at gcc dot gnu dot org, jamborm at gcc dot gnu dot org, hubicka at ucw dot cz
- Date: Mon, 13 Jul 2015 14:47:23 +0200
- Subject: Re: [PATCH] PR/66760, ipa-inline-analysis.c compile-time hog
- Authentication-results: sourceware.org; auth=none
- References: <1436737195-21165-1-git-send-email-bonzini at gnu dot org> <20150713115509 dot GG1819 at virgil dot suse dot cz> <55A3AB87 dot 3000606 at redhat dot com> <20150713123409 dot GH1819 at virgil dot suse dot cz>
On 13/07/2015 14:34, Martin Jambor wrote:
> You might want to use Martin's shiny new
> function_summary class in symbol-summary.c. That is a mechanism
> specifically designed to append to a cgraph_node information specific
> to an optimization pass (or two, as ipa-cp and ipa-inline already both
> use a few of them). Unfortunately, the class is not very well
> documented but you should be able to figure out how to use it from
> other code using them.
>
> If you then always deallocate everything there at the end of
> ipa-inline analysis, you'll get exactly the right life-time for the
> data.
Good. I might as well merge func_body_info and ipa_node_params then, so
I already have ipa_node_params_sum. WDYT?
Paolo