[Bug ipa/60243] IPA is slow on large cgraph tree
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 12:23:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> Oh, and ipa_profile_generate_summary is dominated by symtab_get_node ()
> hashtable lookup ...
here:
int
estimate_num_insns (gimple stmt, eni_weights *weights)
{
/* Do not special case builtins where we see the body.
This just confuse inliner. */
...
else if (!(decl = gimple_call_fndecl (stmt))
|| !(node = cgraph_get_node (decl))
|| node->definition)
;
a simple re-org will fix that. I'll do that.
More information about the Gcc-bugs
mailing list