This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Move IVOPTs right before expansion
- From: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Zdenek Dvorak <ook at ucw dot cz>
- Date: Thu, 8 Apr 2010 00:08:06 +0200
- Subject: Re: [PATCH][RFC] Move IVOPTs right before expansion
- References: <alpine.LNX.2.00.1004071519110.5522@zhemvz.fhfr.qr>
Hi,
> This patch moves IVOPTs to right before expansion (well, nearly).
> That allows to establish a lowering process there and also allows
> the memory optimizers running after loop optimizations do something
> reasonable again (they do not handle TARGET_MEM_REFs very well as
> they break TBAA).
>
> I have bootstrapped and tested the patch last year as well as ran
> SPEC 2000 and SPEC 2006 on x86_64 with effects in the noise.
>
> Any comments on why this is not a good idea?
it might be reasonable to keep some simplification passes after ivopts, as the
computations they produce may be somewhat messy. But I guess we do not have
any passes able to do much with that, anyway, so it probably does not matter,
Zdenek