This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch 1/5] switch nios2 backend to LRA
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Oct 2017 20:05:54 -0600
- Subject: [patch 1/5] switch nios2 backend to LRA
- Authentication-results: sourceware.org; auth=none
- References: <59E95981.4040306@codesourcery.com>
This patch switches the nios2 backend to use LRA. It's conceptually
independent of the other changes in this patch set and in fact I had
wanted to push this change earlier in the summer. But, enabling LRA
by itself causes a handful of test regressions due to a missing
movsi splitter -- which is provided in part 3 of the patch series.
-Sandra
2017-10-19 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/nios2/nios2.c (TARGET_LRA_P): Don't override.
diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c
index 2602605..659250a 100644
--- a/gcc/config/nios2/nios2.c
+++ b/gcc/config/nios2/nios2.c
@@ -5052,9 +5052,6 @@ nios2_adjust_reg_alloc_order (void)
#undef TARGET_LEGITIMATE_ADDRESS_P
#define TARGET_LEGITIMATE_ADDRESS_P nios2_legitimate_address_p
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_false
-
#undef TARGET_PREFERRED_RELOAD_CLASS
#define TARGET_PREFERRED_RELOAD_CLASS nios2_preferred_reload_class