Re: [PATCH] Add SCEV cprop dump

2013-05-16 Thread Richard Biener
On Wed, May 15, 2013 at 4:35 PM, Marek Polacek wrote: > On Wed, May 15, 2013 at 02:58:22PM +0200, Richard Biener wrote: >> On Wed, May 15, 2013 at 2:07 PM, Marek Polacek wrote: >> > /* Replace the uses of the name. */ >> > if (name != ev) >> > - replace_uses_by (nam

Re: [PATCH] Add SCEV cprop dump

2013-05-15 Thread Marek Polacek
On Wed, May 15, 2013 at 02:58:22PM +0200, Richard Biener wrote: > On Wed, May 15, 2013 at 2:07 PM, Marek Polacek wrote: > > /* Replace the uses of the name. */ > > if (name != ev) > > - replace_uses_by (name, ev); > > + { > > + replace_uses_by (

Re: [PATCH] Add SCEV cprop dump

2013-05-15 Thread Richard Biener
On Wed, May 15, 2013 at 2:07 PM, Marek Polacek wrote: > This is an attempt to add more dumping to scev_cprop. I don't know what > exactly > would you want to see in there, so now it prints e.g.: > > (replace_stmt > (virtual_p_1 with 0) > ) > > and > > (final_value_replacement > o__lsm.3_2 =

[PATCH] Add SCEV cprop dump

2013-05-15 Thread Marek Polacek
This is an attempt to add more dumping to scev_cprop. I don't know what exactly would you want to see in there, so now it prints e.g.: (replace_stmt (virtual_p_1 with 0) ) and (final_value_replacement o__lsm.3_2 = PHI <_6(4)> with o__lsm.3_2 = pretmp_10 + 20; ) Comments? Maybe tha