This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: IPO optimization framework for GCC
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc at gcc dot gnu dot org, Kenneth Zadeck <zadeck at naturalbridge dot com>
- Date: Mon, 10 Oct 2005 19:57:16 -0400
- Subject: Re: RFC: IPO optimization framework for GCC
- References: <200510102325.QAA22039@hpsje.cup.hp.com>
> > Second question is - When to put info on the disk? Few alternatives,
> > 1) Before gimplfication
> > 2) Before optimizing tree-ssa
> > 3) After tree-ssa optimization is complete
> > 4) Immediately after generating RTL
> > 5) Halfway throuh RTL passes
> > etc.. And answer to this question largely depend on the optimization
> > passes that work on whole program info.
>
> I would think one would want to put the info out before optimizing
> tree-ssa since you would hope that the IPO data from other modules would
> let you do better tree-ssa optimizations.
Actually, you want to do it right after what the ipa-branch does
early-optimizations.
That will write out a cleaned up IL that has had CCP and DCE run on it.
We discussed almost *all* of this stuff at the summit.
There are people working on detailed plans for IPA (Mark Mitchell and
Ken Zadeck).
You really should email or call them and find out what they are doing.