[gcc/devel/sh-lra] SH: enable LRA by default
Oleg Endo
olegendo@gcc.gnu.org
Wed Sep 25 01:25:57 GMT 2024
https://gcc.gnu.org/g:09210f927265fb4f198e904ba11297ac1e370554
commit 09210f927265fb4f198e904ba11297ac1e370554
Author: Oleg Endo <olegendo@gcc.gnu.org>
Date: Wed Sep 25 09:47:25 2024 +0900
SH: enable LRA by default
gcc/ChangeLog:
PR target/55212
* conifg/sh/sh.opt (sh_lra_flag): Init to 1.
Diff:
---
gcc/config/sh/sh.opt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt
index c44cfe70cb11..718dfb744ff5 100644
--- a/gcc/config/sh/sh.opt
+++ b/gcc/config/sh/sh.opt
@@ -299,5 +299,5 @@ Target Var(TARGET_FSRRA)
Enable the use of the fsrra instruction.
mlra
-Target Var(sh_lra_flag) Init(0) Save
+Target Var(sh_lra_flag) Init(1) Save
Use LRA instead of reload (transitional).
More information about the Gcc-cvs
mailing list