> > The problem here is that LTRANS will run the standard pipeline
> > over a callgraph that hasn't been "settled" (i.e., no inlining
> > decisions have been applied yet).  Perhaps the first thing LTRANS
> > should do is just call execute_all_ipa_transforms() and then
> > proceed with the regular pipeline.
> 
> To make this extra clean, we can just create a execute_wpa_decisions
> pass that only runs in ltrans and is the first one.
> 
> We will have a similar problem when we decide to implement ipa-cp in
> wpa. But we can solve this problem when we get there.

I have ipa-cp using clones pretty much ready (it passes regtesting and I
am just bootstrapping and hoping to have patch out till end of week
finally)

Honza
> 
> > Honza, these three stages are all controlled by lto.c:lto_main.
> >
> >
> > Diego.
> >
> 
> Cheers,
> -- 
> Rafael Avila de Espindola
> 
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047

Reply via email to