Re: Add DSE to early passes

2015-04-22 Thread Richard Biener
On Wed, 22 Apr 2015, Jan Hubicka wrote: > > > @@ -42,6 +42,6 @@ bool f(I a, I b, I c, I d) { > > > // This works only if everything is inlined into 'f'. > > > > > > // { dg-final { scan-tree-dump-times ";; Function" 1 "fre2" } } > > > -// { dg-final { scan-tree-dump-times "free" 19 "fre2" } } >

Re: Add DSE to early passes

2015-04-22 Thread Jan Hubicka
> > @@ -42,6 +42,6 @@ bool f(I a, I b, I c, I d) { > > // This works only if everything is inlined into 'f'. > > > > // { dg-final { scan-tree-dump-times ";; Function" 1 "fre2" } } > > -// { dg-final { scan-tree-dump-times "free" 19 "fre2" } } > > +// { dg-final { scan-tree-dump-times "free" 18 "

Re: Add DSE to early passes

2015-04-22 Thread H.J. Lu
On Mon, Apr 13, 2015 at 3:01 AM, Jan Hubicka wrote: > Hi, > this patch adds DSE to early optimizations and handles testuiste fallout. > As discussed in PR 65076 this reduces number of CLOBBER statements in tramp3d > to 50% (and those accounts 29% of all code previously). The pass also quite > ofte

Re: Add DSE to early passes

2015-04-13 Thread Richard Biener
On Mon, 13 Apr 2015, Jan Hubicka wrote: > Hi, > this patch adds DSE to early optimizations and handles testuiste fallout. > As discussed in PR 65076 this reduces number of CLOBBER statements in tramp3d > to 50% (and those accounts 29% of all code previously). The pass also quite > often kills real

Add DSE to early passes

2015-04-13 Thread Jan Hubicka
Hi, this patch adds DSE to early optimizations and handles testuiste fallout. As discussed in PR 65076 this reduces number of CLOBBER statements in tramp3d to 50% (and those accounts 29% of all code previously). The pass also quite often kills real stores reducing Firefox binary by over 2% due to b