This is the mail archive of the
mailing list for the GCC project.
Re: [patch] some tree-vectorizer.c cleanups
- From: Roger Sayle <roger at eyesopen dot com>
- To: Dorit Naishlos <DORIT at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 22 Nov 2004 19:16:19 -0700 (MST)
- Subject: Re: [patch] some tree-vectorizer.c cleanups
On Mon, 22 Nov 2004, Dorit Naishlos wrote:
> * tree-vectorizer.c (vect_analyze_operations): Don't vectorize if
> the vectorization factor is greater than the iteration count.
> (vect_gen_niters_for_prolog_loop): No need to calculate min if the
> iteration count is known.
> (vect_build_symbol_bound): Removed. Its functionality moved to
> (vect_generate_tmps_on_preheader): Moved content of
> vect_build_symbol_bound here instead of calling it. Changed some
> variables names.
> (vect_build_loop_niters): We don't expect a new_bb to be generated
> - use gcc_assert instead.
> (vect_gen_niters_for_prolog_loop): Likewise.
> (vect_gen_niters_for_prolog_loo): Likewise.
> (slpeel_make_loop_iterate_ntimes): Use buildN instead of build.
> (slpeel_add_loop_guard): Likewise.
> (slpeel_tree_peel_loop_to_edge): Likewise.
> (vect_do_peeling_for_alignment): Likewise.
> (vect_get_first_index): Missing space.
This is OK for mainline.