r216533 - in /branches/sh-lra/gcc: config/sh/sh...

kkojima@gcc.gnu.org kkojima@gcc.gnu.org
Tue Oct 21 23:29:00 GMT 2014


Author: kkojima
Date: Tue Oct 21 23:29:16 2014
New Revision: 216533

URL: https://gcc.gnu.org/viewcvs?rev=216533&root=gcc&view=rev
Log:
Introduce target hook which disables the substitution of pseudos
with equivalent memory values.
* target.def (cannot_substitute_mem_equiv_p): New hook.
* lra-constraints.c (get_equiv): Check targetm.cannot_substitute_mem_equiv_p.
* config/sh/sh.c (TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): Define.
  (sh_cannot_substitute_mem_equiv_p): New function.
* doc/tm.texi.in (TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): New @hook.
* doc/tm.texi: Regenerate.


Modified:
    branches/sh-lra/gcc/config/sh/sh.c
    branches/sh-lra/gcc/doc/tm.texi
    branches/sh-lra/gcc/doc/tm.texi.in
    branches/sh-lra/gcc/lra-constraints.c
    branches/sh-lra/gcc/target.def



More information about the Gcc-cvs mailing list