This is the mail archive of the
gcc-patches@gcc.gnu.org
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: <38a0d8450811250638q346f1f6s87f41803fa6fe078@mail.gmail.com>
On Tue, Nov 25, 2008 at 09:38, Rafael Espindola <espindola@google.com> wrote:
> 2008-11-25 Rafael Espindola <espindola@google.com>
>
> * 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.
Diego.