This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [autovect] [patch] Bring fixes from mainline
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: Keith Besaw <kbesaw at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 5 Jan 2005 10:16:17 +0200
- Subject: Re: [autovect] [patch] Bring fixes from mainline
Keith Besaw <kbesaw@us.ibm.com> wrote on 01/05/2005 10:07:57 AM:
> In the following host_integerp will do a check for TREE_CODE (misalign)
==
> INTEGER_CST while
> the replacement tree_int_cst_sgn does not. Is misalign guaranteed to be
> an INTEGER_CST or
> should the test be if (TREE_CODE (misalign) != INTEGER_CST ||
> tree_int_cst_sgn (misalign) < 0)?
misalign is guaranteed to be an INTEGER_CST. This is verified in function
vect_analyze_offset_expr and results from the code in function
vect_get_base_and_offset.
>
> Keith Besaw
>
Ira