On 07/13/2017 02:49 AM, Richard Sandiford wrote: > The postreload move2add optimisations are specific to scalar > integers. This patch adds an explicit check to the main guarding > "if" and propagates the information through subroutines. > > gcc/ > 2017-07-13 Richard Sandiford <[email protected]> > Alan Hayward <[email protected]> > David Sherwood <[email protected]> > > * postreload.c (move2add_valid_value_p): Change the type of the > mode parameter to scalar_int_mode. > (move2add_use_add2_insn): Add a mode parameter and use it instead > of GET_MODE (reg). > (move2add_use_add3_insn): Likewise. > (reload_cse_move2add): Update accordingly. OK. jeff
