This is the mail archive of the gcc@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: Beginner's question:Are there any inter-procedural optimizationin GCC backend ?


Gabriel Dos Reis wrote:
Hmm, it has been my understanding thta the tree-inliner will not
(automatically) have us throw away the RTL-inliner.  Does that change?

The tree inliner should always do a better job (except for problems with heuristics of when to inline), so I don't see any good reason to keep the RTL inliner.


However, we do have the problem that not all front ends support tree inlining yet, so for now, we still need the RTL inliner. I expect this changes with the tree-ssa branch, since there all front ends have to generate gimple, and hence all front ends get the benefit of tree inlining.

Is there some other reason why we would want to keep it? It seems like a bad idea to have two function inliners making different decisions about what to inline.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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