Re: Do not imply -fweb with -fpeel-loops

2016-06-01 Thread Jan Hubicka
> > > > In tree-SSA world most of reuse is avoided by out-of-ssa pass. Random reuse > > these days is limited to loop unrolling and RTL expansion I think. Without > > unroling webizer renames 204 pseudos on tramp3d that seems close to 0. I can > > try to dig into that. With -funroll-all-loops it re

Re: Do not imply -fweb with -fpeel-loops

2016-05-31 Thread Bill Schmidt
If the decision is taken to remove -fweb, please give me a heads-up as I have a target-specific pass that shares infrastructure with it. I can factor that out to facilitate the removal; just let me know. Thanks! -- Bill Bill Schmidt, Ph.D. GCC for LInux on Power Linux on Power Toolchain IBM L

Re: Do not imply -fweb with -fpeel-loops

2016-05-31 Thread Richard Biener
On Tue, May 31, 2016 at 1:42 PM, Jan Hubicka wrote: >> > I would say we should handle -frename-registers same way as we do >> > -fschedule-insns. >> > I.e. enable/disable it on target basis rather than budnle it to loop >> > unrolling. >> > But that is for future patch. I will commit this and p

Re: Do not imply -fweb with -fpeel-loops

2016-05-31 Thread Jan Hubicka
> > I would say we should handle -frename-registers same way as we do > > -fschedule-insns. > > I.e. enable/disable it on target basis rather than budnle it to loop > > unrolling. > > But that is for future patch. I will commit this and propose patch making > > -fpeel-loops > > independent of r

Re: Do not imply -fweb with -fpeel-loops

2016-05-31 Thread Richard Biener
On Tue, May 31, 2016 at 12:49 PM, Jan Hubicka wrote: > Hi, > enabling -fpeel-loops with -O3 and -Ofast had unexpected effect of enabling > -fweb and -frename-registers. This patch drop -fweb from list of passes that > are implied by -fpeel-loops because it is no longer needed since we do peeling

Do not imply -fweb with -fpeel-loops

2016-05-31 Thread Jan Hubicka
Hi, enabling -fpeel-loops with -O3 and -Ofast had unexpected effect of enabling -fweb and -frename-registers. This patch drop -fweb from list of passes that are implied by -fpeel-loops because it is no longer needed since we do peeling at tree instead of RTL and the out-of-ssa pass cares about thi