[RFC/patch] Callgraph based inlining heuristics

Jan Hubicka jh@suse.cz
Mon Jun 23 17:59:00 GMT 2003


> On Mon, 23 Jun 2003, Jan Hubicka wrote:
> 
> > > Btw. - are you currently maintaining an explicit callgraph, so we can
> > > stick notes to its edges?
> > Yes.
> 
> So in principle we can walk "down" the cfg of a leaf function marking all
> edges as to be inlined?

This has the transitivity problem.  If your leaf function A calls B that
calls C, you mark flag "inline C into B" that may not be what you want
in other places you call B.

Honza
> 
> Richard.
> 



More information about the Gcc mailing list