This is the mail archive of the 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] Move the call to execute_all_ipa_transforms to cgraphunit.c

On Tue, Nov 11, 2008 at 18:12, Jan Hubicka <> 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
after all_lto_ipa_passes.

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.


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