diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-07-09 02:51:09 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-07-09 02:51:09 +0000 |
commit | 760edf20ba65b2d6b44a6a8c98683e4eb9490009 (patch) | |
tree | 3b2f06358a06111a3171d4f07399d8b62fc9689d /gcc/lra.c | |
parent | 16cb56686dba6e45ab5e19b86fbed7712e1e6501 (diff) | |
download | gcc-760edf20ba65b2d6b44a6a8c98683e4eb9490009.zip gcc-760edf20ba65b2d6b44a6a8c98683e4eb9490009.tar.gz gcc-760edf20ba65b2d6b44a6a8c98683e4eb9490009.tar.bz2 |
reduce conditional compilation based on AUTO_INC_DEC
gcc/ChangeLog:
2015-07-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* auto-inc-dec.c (pass_inc_dec::execute): Don't check the value
of AUTO_INC_DEC with the preprocessor.
* combine.c (combine_instructions): Likewise.
(can_combine_p): Likewise.
(try_combine): Likewise.
* emit-rtl.c (try_split): Likewise.
* loop-invariant.c (calculate_loop_reg_pressure): Likewise.
* lower-subreg.c (resolve_simple_move): Likewise.
* lra.c (update_inc_notes): Likewise.
* recog.c (asm_operand_ok): Likewise.
(constrain_operands): Likewise.
* regrename.c (scan_rtx_address): Likewise.
* reload.c (update_auto_inc_notes): Likewise.
(reg_inc_found_and_valid_p): Likewise.
* reload1.c (reload): Likewise.
(emit_input_reload_insns): Likewise.
(delete_output_reload): Likewise.
* sched-deps.c (init_insn_reg_pressure_info): Likewise.
* valtrack.c (cleanup_auto_inc_dec): Likewise.
From-SVN: r225596
Diffstat (limited to 'gcc/lra.c')
-rw-r--r-- | gcc/lra.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -2088,7 +2088,6 @@ has_nonexceptional_receiver (void) return false; } -#if AUTO_INC_DEC /* Process recursively X of INSN and add REG_INC notes if necessary. */ static void @@ -2116,7 +2115,6 @@ add_auto_inc_notes (rtx_insn *insn, rtx x) } } -#endif /* Remove all REG_DEAD and REG_UNUSED notes and regenerate REG_INC. We change pseudos by hard registers without notification of DF and @@ -2143,9 +2141,9 @@ update_inc_notes (void) else pnote = &XEXP (*pnote, 1); } -#if AUTO_INC_DEC - add_auto_inc_notes (insn, PATTERN (insn)); -#endif + + if (AUTO_INC_DEC) + add_auto_inc_notes (insn, PATTERN (insn)); } } |