This is the mail archive of the
mailing list for the GCC project.
Re: [lto][patch] Move the call to execute_all_ipa_transforms to cgraphunit.c
On Tue, Nov 11, 2008 at 18:12, Jan Hubicka <firstname.lastname@example.org> wrote:
> How you reorganize the IPA passes? It seems that in current
> organization of compiler we realy should stay with one block of early
> local passes followed by all the IPA/LTO followed by one block of late
> passes + RTL. In this scheme we should never need more than one
> fixup_cfg on the beggining of last block.
Yes, that scheme hasn't changed.
So far, it has been mostly a separation of IPA passes so that the LTO
generation happens as a separate set of passes. When generating LTO
information (lgen), we want to run the inliner before writing out the
IL so that extern inline functions get tossed out. So that was simply
a matter of adding another meta pass (all_lto_gen_passes) that runs
There is some more cleanup that Doug is planning so that we can use
the pass manager when running lto1 in WPA mode. Doug was going to
work on that in the next few days.