This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: loop.c:basic_induction_var does not accept ZERO_EXTEND
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: loop.c:basic_induction_var does not accept ZERO_EXTEND
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 23 May 2000 13:09:34 -0700
- Cc: law at cygnus dot com, Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- References: <law@cygnus.com> <200005231922.PAA26636@mal-ach.watson.ibm.com>
On Tue, May 23, 2000 at 03:22:43PM -0400, David Edelsohn wrote:
> I would
> think that basic_induction_var() should discover the BIV and then let
> later code determine whether the range can be computed at compile-time and
> is safe to treat as a BIV without overflow in the original mode.
I had a patch about a year back to do exactly this. I'll see
if I can track this down...
r~