This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4 GCC regressions, 2 new, with your patch on 2002-07-18T09:56:17Z.
- From: Jan Hubicka <jh at suse dot cz>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>,Geoff Keating <geoffk at geoffk dot org>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 10 Aug 2002 03:41:42 +0200
- Subject: Re: 4 GCC regressions, 2 new, with your patch on 2002-07-18T09:56:17Z.
- References: <200207181329.g6IDT2F03232@maat.sfbay.redhat.com> <20020718200257.GD10794@atrey.karlin.mff.cuni.cz> <20020722010558.GB2484@atrey.karlin.mff.cuni.cz> <200207221204.g6MC4N814351@desire.geoffk.org> <20020722133957.GH2426@atrey.karlin.mff.cuni.cz> <200207221458.g6MEw2l14690@desire.geoffk.org> <20020725131411.GD30520@atrey.karlin.mff.cuni.cz> <jmd6t6doy2.fsf@desire.geoffk.org> <20020809091137.GG11271@atrey.karlin.mff.cuni.cz> <20020810013324.GJ6018@redhat.com>
> On Fri, Aug 09, 2002 at 11:11:37AM +0200, Jan Hubicka wrote:
> > Really? I thought that the SSA on lowlevel RTL is no-no becuase of
> > subregs and strict low parts etc. We need some CSE-like pass to cleanup
> > after last code lowering stage in any stage and it should be global.
>
> I think the argument goes that the bulk of the user code will
> already have had global optimizations applied and that, hopefully,
> there not have been hordes of code generated from the tree->rtl
> lowering process that could benefit from global opts, only local.
>
> It's something we'll have to experiment with, for sure.
Yes, we need to dicuss it in more detail too.
If I think about it, the midrtl->lowrtl lowering pass seems to be
perfrect source of redundancies both local and global for instance from
constant expansion on RISCy chips. We want CSE on these as well as loop
invariant motion, so PRE looks like one of the "a must" passes for the
final version of RTL.
It can be interesting to prepare list of passes we would like to
implement in some horisont and at what level we do want them.
I would like GCSE to be broken up into separate passes. I like how LCM
is implemented separately and I believe number of other analysis and
functions can be reused by other passes as well (midlevel or lowlevel,
SSA or not), so thats the purpose what Zdenek and I are trying to break
GCSE up and get the dead bits working.
Honza
>
>
> r~