This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fwprop patch testing
- From: Steven Bosscher <stevenb at suse dot de>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Daniel Berlin <dberlin at dberlin dot org>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 1 Oct 2005 16:28:41 +0200
- Subject: Re: fwprop patch testing
- References: <200509241559.j8OFx9q25430@makai.watson.ibm.com> <4337B36E.4070104@lu.unisi.ch>
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