On 06/21/2016 09:50 AM, James Greenhalgh wrote:

Hi,

This patch removes what is left of branch_cost uses, moving them to use
the new hook and tagging each left over spot with a TODO to revisit them.
All these uses are in rtx costs units, so we don't have more work to do at
this point.

Bootstrapped as part of the patch series on aarch64 and x86-64.

OK?

Thanks,
James

---
2016-06-21  James Greenhalgh  <james.greenha...@arm.com>

        * ifcvt.c (noce_if_info): Remove branch_cost.
        (noce_try_store_flag_mask): Use max_seq_cost rather than
        branch_cost, tag as a TODO..
        (noce_try_cmove_arith): Likewise.
        (noce_convert_multiple_sets): Likewise.
        (bb_ok_for_noce_convert_multiple_sets): Likewise.
        (noce_find_if_block): Remove set of branch_cost.

LGTM

Jeff

Reply via email to