r123910 - in /trunk/gcc: ChangeLog testsuite/Ch...
dorit@gcc.gnu.org
dorit@gcc.gnu.org
Tue Apr 17 07:31:00 GMT 2007
Author: dorit
Date: Tue Apr 17 08:31:45 2007
New Revision: 123910
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123910
Log:
* tree-vectorizer.h (stmt_vec_info_type): Add enum value
induc_vec_info_type.
(vectorizable_induction): New function declaration.
* tree-vect-transform.c (get_initial_def_for_induction): No need to
check if already vectorized. Find first place in BB where new stmts
can be inserted. Takes only one argument.
(vectorizable_induction): New function.
(vect_transform_stmt): Add case for induc_vec_info_type to call
vectorizable_induction.
(vect_transform_loop): Consider phis for vectorization.
* tree-vect-analyze.c (vect_determine_vectorization_factor): Simplify
condition.
(analyze_operations): Call vectorizable_induction when analyzing phis.
Fix comment.
(vect_mark_stmts_to_be_vectorized): Remove redundant checks.
(vect_mark_relevant): Include phis in relevance analysis.
(vect_mark_stmts_to_be_vectorize): Likewise.
* tree-vect-patterns.c (widened_name_p): Remove obsolete asserts.
Added:
trunk/gcc/testsuite/gcc.dg/vect/no-tree-scev-cprop-vect-iv-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-analyze.c
trunk/gcc/tree-vect-patterns.c
trunk/gcc/tree-vect-transform.c
trunk/gcc/tree-vectorizer.h
More information about the Gcc-cvs
mailing list