On 10/17/2014 10:47 AM, Richard Sandiford wrote: > This patch just adds a new utility function called recog_constrain_insn, > to go alongside the existing recog_constrain_insn_cached. > > Note that the extract_insn in lra.c wasn't used when checking is disabled. > The function just moved on to the next instruction straight away. >
The RA parts are ok for me. Thanks, Richard. > > gcc/ > * recog.h (extract_constrain_insn): Declare. > * recog.c (extract_constrain_insn): New function. > * lra.c (check_rtl): Use it. > * postreload.c (reload_cse_simplify_operands): Likewise. > * reg-stack.c (check_asm_stack_operands): Likewise. > (subst_asm_stack_regs): Likewise. > * regcprop.c (copyprop_hardreg_forward_1): Likewise. > * regrename.c (build_def_use): Likewise. > * sel-sched.c (get_reg_class): Likewise. > * config/arm/arm.c (note_invalid_constants): Likewise. > * config/s390/predicates.md (execute_operation): Likewise. > >