This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Don't try to ipa-cp into inlined nodes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]