tree-vectorizer.h (vect_recog_func_ptr): Change the first argument to be a VEC of...
authorIra Rosen <ira.rosen@linaro.org>
Thu, 16 Jun 2011 12:08:37 +0000 (12:08 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Thu, 16 Jun 2011 12:08:37 +0000 (12:08 +0000)
commit5131223306f3957935567b1ed652b1b0360918ad
tree098eab87cbc4dbcae32e5b5c691afee994cab4c4
parent9c9eacb9b4d7b9f2866da3352e12722aedc846df
tree-vectorizer.h (vect_recog_func_ptr): Change the first argument to be a VEC of statements.

        * tree-vectorizer.h (vect_recog_func_ptr): Change the first
        argument to be a VEC of statements.
        * tree-vect-loop.c (vect_determine_vectorization_factor):
        Remove the assert that pattern statements have to have their
        vector type set.
        * tree-vect-patterns.c (vect_recog_widen_sum_pattern):
        Change the first argument to be a VEC of statements.  Update
        documentation.
        (vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise.
        (vect_handle_widen_mult_by_const): New function.
        (vect_recog_widen_mult_pattern):  Change the first argument to
        be a VEC of statements.  Update documentation.  Check that the
        constant is INTEGER_CST.  Support multiplication by a constant
        that fits an intermediate type - call
        vect_handle_widen_mult_by_const.
        (vect_pattern_recog_1): Update vect_recog_func_ptr and its
        call.  Handle additional pattern statements if necessary.

From-SVN: r175102
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c [new file with mode: 0644]
gcc/tree-vect-loop.c
gcc/tree-vect-patterns.c
gcc/tree-vectorizer.h