Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Paulo J. Matos
2012-08-02 Paulo Matos PR middle-end/54154 * regcprop.c (copy_value): remove check for redundant moves. * regcprop.c (copyprop_hardreg_forward_1): add check for redundant moves, remove instructions if redundant. --- //depot/bc/main/devHost/gcc46/gcc/gcc/regcprop.c 2011-09-06 1

Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Paulo J. Matos
On 02/08/12 11:25, Steven Bosscher wrote: Hello, Thanks for working on this. How did you test this? This patch is for GCC46. The main problem is that I was not able to reproduce it (yet) for any upstream backends. I therefore patched GCC46 and tested our backend (where I can easily reprodu

Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Paulo J. Matos
Thanks for the comments, I will be sending a new patch and fixed changelog. On 02/08/12 11:27, Richard Guenther wrote: On Thu, Aug 2, 2012 at 12:19 PM, Paulo J. Matos wrote: Forgot to mention: this is to fix PR 54154. Updated changelog: 2012-08-02 Paulo Matos PR middle-end/54154

Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Richard Guenther
On Thu, Aug 2, 2012 at 12:19 PM, Paulo J. Matos wrote: > Forgot to mention: this is to fix PR 54154. > > Updated changelog: > > 2012-08-02 Paulo Matos > > PR middle-end/54154 > > * regcprop.c (copy_value): remove check for redundant moves. > * regcprop.c (copy_value): add check for

Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Steven Bosscher
On Thu, Aug 2, 2012 at 12:17 PM, Paulo J. Matos wrote: > Extended regcprop to check and remove for redundant move instructions > resulting from the pass. > > Paulo. > > 2012-08-02 Paulo Matos > > * regcprop.c (copy_value): remove check for redundant moves. > * regcprop.c (copy_v

Re: PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Paulo J. Matos
Forgot to mention: this is to fix PR 54154. Updated changelog: 2012-08-02 Paulo Matos PR middle-end/54154 * regcprop.c (copy_value): remove check for redundant moves. * regcprop.c (copy_value): add check for redundant moves, remove instructions if redundant.

PATCH: Remove redundant instructions after regcprop

2012-08-02 Thread Paulo J. Matos
Extended regcprop to check and remove for redundant move instructions resulting from the pass. Paulo. 2012-08-02 Paulo Matos * regcprop.c (copy_value): remove check for redundant moves. * regcprop.c (copy_value): add check for redundant moves, remove instructions if