tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass stmt_info to recor...
authorAndrew Pinski <apinski@cavium.com>
Wed, 1 Feb 2017 18:30:50 +0000 (18:30 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 1 Feb 2017 18:30:50 +0000 (10:30 -0800)
commitcd8ae5edfe8587fb39227ddcbb359f05649a14c6
tree40840e00cf2a95bba9bd9036fcc9e17f824950e7
parent969a32ce9354585f5f2b89df2e025f52eb0e1644
tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass stmt_info to record_stmt_cost.

2017-02-01  Andrew Pinski  <apinski@cavium.com>

        * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass
        stmt_info to record_stmt_cost.
        (vect_get_known_peeling_cost): Pass stmt_info if known to
        record_stmt_cost.
        * config/aarch64/aarch64-protos.h (cpu_vector_cost): Split
        cpu_vector_cost field into
        scalar_int_stmt_cost and scalar_fp_stmt_cost.  Split vec_stmt_cost
        field into vec_int_stmt_cost and vec_fp_stmt_cost.
        * config/aarch64/aarch64.c (generic_vector_cost): Update for the
        splitting of scalar_stmt_cost and vec_stmt_cost.
        (thunderx_vector_cost): Likewise.
        (cortexa57_vector_cost): LIkewise.
        (exynosm1_vector_cost): Likewise.
        (xgene1_vector_cost): Likewise.
        (thunderx2t99_vector_cost): Improve after the splitting of the two
        fields.
        (aarch64_builtin_vectorization_cost): Update for the splitting of
        scalar_stmt_cost and vec_stmt_cost.

From-SVN: r245101
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/tree-vect-loop.c