On 04/21/2015 07:24 AM, tbsaunde+...@tbsaunde.org wrote:
From: Trevor Saunders <tbsaunde+...@tbsaunde.org>

gcc/ChangeLog:

2015-04-21  Trevor Saunders  <tbsaunde+...@tbsaunde.org>

        * combine.c (find_single_use): Remove HAVE_cc0 ifdef for code
        that is trivially ded on non cc0 targets.
        (simplify_set): Likewise.
        (mark_used_regs_combine): Likewise.
        * cse.c (new_basic_block): Likewise.
        (fold_rtx): Likewise.
        (cse_insn): Likewise.
        (cse_extended_basic_block): Likewise.
        (set_live_p): Likewise.
        * rtlanal.c (canonicalize_condition): Likewise.
        * simplify-rtx.c (simplify_binary_operation_1): Likewise.
OK.  I find myself wondering if the conditionals should look like
if (HAVE_cc0
    && (whatever))

But I doubt it makes any measurable difference. It's something we can always add in the future if we feel the need to avoid the runtime checks for things that aren't ever going to happen on most modern targets.

jeff

Reply via email to