[Bug ipa/60243] IPA is slow on large cgraph tree

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 16 20:52:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #15 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #14)
> Author: hubicka
> Date: Fri Mar 28 19:50:28 2014
> New Revision: 208916
> 
> URL: http://gcc.gnu.org/viewcvs?rev=208916&root=gcc&view=rev
> Log:
> 	PR ipa/60243
> 	* ipa-inline.c (want_inline_small_function_p): Short circuit large
> 	functions; reorganize to make cheap checks first.
> 	(inline_small_functions): Do not estimate growth when dumping;
> 	it is expensive.
> 	* ipa-inline.h (inline_summary): Add min_size.
> 	(growth_likely_positive): New function.
> 	* ipa-inline-analysis.c (dump_inline_summary): Add min_size.
> 	(set_cond_stmt_execution_predicate): Cleanup.
> 	(estimate_edge_size_and_time): Compute min_size.
> 	(estimate_calls_size_and_time): Likewise.
> 	(estimate_node_size_and_time): Likewise.
> 	(inline_update_overall_summary): Update min_size.
> 	(do_estimate_edge_time): Likewise.
> 	(do_estimate_edge_size): Update.
> 	(do_estimate_edge_hints): Update.
> 	(growth_likely_positive): New function.
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/ipa-inline-analysis.c
>     trunk/gcc/ipa-inline.c
>     trunk/gcc/ipa-inline.h

Did this fix it?


More information about the Gcc-bugs mailing list