* tree-vectorizer.h (vect_recog_func_ptr): Change the first
commit0187b74ef9bfdac284a5dd4ee9bff6381c819549
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 12:08:37 +0000 (16 12:08 +0000)
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 12:08:37 +0000 (16 12:08 +0000)
tree098eab87cbc4dbcae32e5b5c691afee994cab4c4
parent91cb3b663dd3b4d1421ca2bbaae979a649e1469a
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175102 138bc75d-0d04-0410-961f-82ee72b054a4
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