Re: [PATCH] Fix RTL sharing bug in loop unswitching (PR rtl-optimization/52092)

2012-02-03 Thread Jakub Jelinek
On Fri, Feb 03, 2012 at 09:17:23AM +0100, Zdenek Dvorak wrote: > > It seems loop-iv.c happily creates shared RTL in lots of places, > > loop-unroll.c solves that by unsharing everything it adds, this is > > an attempt to do the same in unswitching to unshare everything iv_analyze > > came up with.

Re: [PATCH] Fix RTL sharing bug in loop unswitching (PR rtl-optimization/52092)

2012-02-03 Thread Richard Guenther
On Thu, 2 Feb 2012, Jakub Jelinek wrote: > Hi! > > It seems loop-iv.c happily creates shared RTL in lots of places, > loop-unroll.c solves that by unsharing everything it adds, this is > an attempt to do the same in unswitching to unshare everything iv_analyze > came up with. > > Bootstrapped/re

Re: [PATCH] Fix RTL sharing bug in loop unswitching (PR rtl-optimization/52092)

2012-02-03 Thread Zdenek Dvorak
Hi, > It seems loop-iv.c happily creates shared RTL in lots of places, > loop-unroll.c solves that by unsharing everything it adds, this is > an attempt to do the same in unswitching to unshare everything iv_analyze > came up with. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for