diff mbox series

[1/5] switch nios2 backend to LRA

Message ID 59E95A02.9080505@codesourcery.com
State New
Headers show
Series nios2 address mode improvements | expand

Commit Message

Sandra Loosemore Oct. 20, 2017, 2:05 a.m. UTC
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
diff mbox series

Patch

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