This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125329 - in /branches/autovect-branch/gcc: Cha...
- From: dorit at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Jun 2007 09:34:37 -0000
- Subject: r125329 - in /branches/autovect-branch/gcc: Cha...
Author: dorit
Date: Tue Jun 5 09:34:37 2007
New Revision: 125329
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125329
Log:
* tree-scalar-evolutions.c (number_of_latch_executions_1): New.
Contains code that was factored out from number_of_latch_executions.
(number_of_latch_executions): Call number_of_latch_executions_1
instead of code that was factored out.
(number_of_exit_cond_executions): Takes additional argument
may_be_zero. Call number_of_latch_executions_1 instead of
number_of_latch_executions.
* tree-scalar-evolutions.h (number_of_latch_executions_1): New.
(number_of_exit_cond_executions): Takes additional argument.
* tree-vect-analyze.c (vect_analyze_operations): Avoid vectorization
in case the loop-bound is a COND_EXPR and peeling needs to be done.
(vect_get_loop_niters): Call number_of_exit_cond_executions with
additional argument may_be_zero. Use it to build a (potentially)
conditional expression for the loop niters.
* tree-vect-transform.c (vect_generate_tmps_on_preheader): Remove
redundant code.
Modified:
branches/autovect-branch/gcc/ChangeLog.autovect
branches/autovect-branch/gcc/tree-scalar-evolution.c
branches/autovect-branch/gcc/tree-scalar-evolution.h
branches/autovect-branch/gcc/tree-vect-analyze.c
branches/autovect-branch/gcc/tree-vect-transform.c