On Monday 26 September 2005 10:38, Paolo Bonzini wrote:
> Right now, I am thinking more
> about shuffling the pass order.  One possibility that comes to mind is
> GCSE+fwprop+CSE, where GCSE could work out the common code for loading
> the address, and fwprop/CSE could do the addressing mode selection
> properly.

If fwprop runs before GCSE, you can remove gcse.c's local_cprop.  I've
tested it and there is nothing useful left to do for local_cprop after
running fwprop.

That saves another whole pass over the function, plus it makes one more
cselib client disappear :-)

Gr.
Steven

Reply via email to