https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488

--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Tue Aug 22 17:32:26 2017
New Revision: 251286

URL: https://gcc.gnu.org/viewcvs?rev=251286&root=gcc&view=rev
Log:
2017-08-22  Bill Schmidt  <wschm...@linux.vnet.ibm.com>

        PR tree-optimization/81488
        * gimple-ssa-strength-reduction (struct slsr_cand_d): Add visited
        and cached_basis fields.
        (MAX_SPREAD): New constant.
        (alloc_cand_and_find_basis): Initialize new fields.
        (clear_visited): New function.
        (create_phi_basis_1): Rename from create_phi_basis, set visited
        and cached_basis fields.
        (create_phi_basis): New wrapper function.
        (phi_add_costs_1): Rename from phi_add_costs, add spread
        parameter, set visited field, short-circuit when limits reached.
        (phi_add_costs): New wrapper function.
        (record_phi_increments_1): Rename from record_phi_increments, set
        visited field.
        (record_phi_increments): New wrapper function.
        (phi_incr_cost_1): Rename from phi_incr_cost, set visited field.
        (phi_incr_cost): New wrapper function.
        (all_phi_incrs_profitable_1): Rename from
        all_phi_incrs_profitable, set visited field.
        (all_phi_incrs_profitable): New wrapper function.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-strength-reduction.c

Reply via email to