This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR18536 fix
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Dorit Naishlos <DORIT at il dot ibm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 Nov 2004 11:29:54 -0500
- Subject: Re: [patch] PR18536 fix
- Organization: Red Hat Canada
- References: <OFDAE3F73B.1884875B-ONC2256F50.0071AF2C-C2256F50.0073E65F@il.ibm.com>
On Thu, 2004-11-18 at 23:05 +0200, Dorit Naishlos wrote:
> * tree-vectorizer.c (make_loop_iterate_ntimes): Use type of niters
> when
> creating iv instead of integer_type.
> (vect_build_loop_niters): Remove redundant code.
> (vect_transform_loop_bound): Use type of niters when creating iv
> instead
> of integer_type. Unify handling of known and unknown loop bound
> cases.
> (vect_gen_niters_for_prolog_loop): Add documentation. Call
> lang_hooks.types.type_for_size to create a type of the required
> size.
> Use that type instead of integer_type. Remove redundant code.
> (vect_update_niters_after_peeling): Use type of niters instead of
> integer_type.
> (vect_transform_loop): Unify handling of known and unknown loop
> bound
> cases.
>
Looks OK.
Diego.