On Thu, Feb 19, 2009 at 11:13, Rafael Espindola <espind...@google.com> wrote:
> To make this extra clean, we can just create a execute_wpa_decisions > pass that only runs in ltrans and is the first one. Probably. However, we should be able to reorder passes in the pipeline arbitrarily. This is something that should always be done in this order for correctness. Of course, if we implemented proper dependencies in the pass manager, we could do it this way. > 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. We'll probably not get into this because logically it makes better sense to do IPCP before inlining. I agree that IPCP should probably be more robust. But in general, small IPA passes will not tolerate unsettled cgraphs the way that summary passes will tend to leave them. Diego.