This is the mail archive of the
mailing list for the GCC project.
Re: [lto][patch] Don't try to ipa-cp into inlined nodes
- From: Diego Novillo <dnovillo at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Nov 2008 10:15:15 -0500
- Subject: Re: [lto][patch] Don't try to ipa-cp into inlined nodes
- References: <firstname.lastname@example.org>
On Tue, Nov 25, 2008 at 09:38, Rafael Espindola <email@example.com> wrote:
> 2008-11-25 Rafael Espindola <firstname.lastname@example.org>
> * ipa-cp.c (ipcp_insert_stage): Skip inlined nodes.
Why would we want to do that? If a node has been inlined in only a
few places, it doesn't mean that we want to stop IPCP on it. It may
still be called uninlined from other nodes in the graph.
I agree that if the node has been inlined *everywhere* it makes no
sense to try to IPCP into it, but it also shouldn't cause an ICE.
That's an efficiency issue, though.