r255273 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Thu Nov 30 14:41:00 GMT 2017


Author: claziss
Date: Thu Nov 30 14:41:49 2017
New Revision: 255273

URL: https://gcc.gnu.org/viewcvs?rev=255273&root=gcc&view=rev
Log:
[ARC] Use TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV.

Sometimes the memory equivalent is not valid due to a large offset.
For example replacing the ap register with its fp/sp-equivalent during
LRA step. To solve this we introduced TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV.

gcc/
2017-08-08  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.c (arc_cannot_substitute_mem_equiv_p): New function.
	(TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): Define.

gcc/testsuite
2017-08-08  Claudiu Zissulescu  <claziss@synopsys.com>

	* gcc.target/arc/lra-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/arc/lra-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list