tree-vectorizer.c (vect_is_simple_use): Support induction.
2007-02-06 Dorit Nuzman <dorit@il.ibm.com> Victor Kaplansky <victork@il.ibm.com> * tree-vectorizer.c (vect_is_simple_use): Support induction. (vect_is_simple_reduction): Support reduction with induction as one of the operands. (vect_is_simple_iv_evolution): Fix formatting. * tree-vect-analyze.c (vect_mark_stmts_to_be_vectorized): Fix formatting. Don't mark induction phis for vectorization. (vect_analyze_scalar_cycles): Analyze all inductions, then reductions. * tree-vect-transform.c (get_initial_def_for_induction): New function. (vect_get_vec_def_for_operand): Support induction. (vect_get_vec_def_for_stmt_copy): Fix formatting and add check for induction case. (vectorizable_reduction): Support reduction with induction as one of the operands. (vectorizable_type_demotion): Use def-type of stmt argument rather than dummy def-type. * tree-ssa-loop.c (gate_scev_const_prop): Return the value of flag_tree_scev_cprop. * common.opt (tree-scev-cprop): New flag. * tree-vect-transform.c (vect_create_destination_var): Use 'kind' in call to vect_get_new_vect_var. Co-Authored-By: Victor Kaplansky <victork@il.ibm.com> From-SVN: r121643
Showing
gcc/testsuite/gcc.dg/vect/vect-iv-1.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-10.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-11.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-2.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-3.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-4.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-5.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-6.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-7.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-8.c
0 → 100644
gcc/testsuite/gcc.dg/vect/vect-iv-9.c
0 → 100644
Please
register
or
sign in
to comment