[PATCH] Handling shifts in loop-iv.c

Roger Sayle roger@eyesopen.com
Thu Jun 24 09:40:00 GMT 2004


On Wed, 9 Jun 2004, Revital Eres wrote:
> 2004-06-09  Revital Eres  <eres@il.ibm.com>
>
>         * loop-iv: (iv_analyze, simple_set_p): Support for
>           identifying shifts of induction variable.
>         (iv_shift): New function.

This is OK for mainline.  Please double check your indentation;
I'm not sure if its just your mailer, but it looks like

+       if (GET_CODE (rhs) == ASHIFT
+             && CONSTANT_P (op0))
+            return false;

and

+       if (!iv_shift (&iv0, mby))
+           goto end;


are indenting by more than two spaces, though this might just
be TAB characters confusing my browser.

Thanks,

Roger
--



More information about the Gcc-patches mailing list