This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patches
- From: Jan Hubicka <jh at suse dot cz>
- To: Richard Henderson <rth at redhat dot com>,Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>,gcc-patches at gcc dot gnu dot org, jh at suse dot cz, law at redhat dot com,zack at codesourcery dot com
- Date: Wed, 30 Jul 2003 16:57:54 +0200
- Subject: Re: Unreviewed patches
- References: <20030721192731.GA5320@atrey.karlin.mff.cuni.cz> <20030729220748.GF29675@redhat.com>
> On Mon, Jul 21, 2003 at 09:27:31PM +0200, Zdenek Dvorak wrote:
> > http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02505.html
> > -- improves store motion to do also dead store elimination
>
> I think this patch is very reasonable. Approved.
>
> Do you find that this completely subsumes the current
> dead-store elimination? I.e. if you annotate the flow.c
> code, how many hits does it find?
>
> If none, we can delete the code in flow.c, I think.
> That may well speed up the compiler a bit.
I think the code is somewhat active after reload that is good source of
redundant and dead stores.
It would be cool to be able to do store motion post-reload. We would
get shring-wrapping almost for free.
Should not be that dificult to implement - one only needs to compute
transparency matrix for registers and combine it with the transparency
for stores, right?
Honza