diff options
author | Jeff Law <law@redhat.com> | 2017-04-12 08:58:23 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-04-12 08:58:23 -0600 |
commit | e1abef483ebc3638e5e130253da65213027decaf (patch) | |
tree | 52b00304d687197c174d7566af4dd9b9bffc52a5 | |
parent | 76873758402927ca5fca67abc018eab862fd1b96 (diff) | |
download | gcc-e1abef483ebc3638e5e130253da65213027decaf.zip gcc-e1abef483ebc3638e5e130253da65213027decaf.tar.gz gcc-e1abef483ebc3638e5e130253da65213027decaf.tar.bz2 |
cris.md (cris_preferred_reload_class): Return GENNONACR_REGS rather than GENERAL_REGS.
* config/cris/cris.md (cris_preferred_reload_class): Return
GENNONACR_REGS rather than GENERAL_REGS.
From-SVN: r246877
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/cris/cris.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a7675e..fc0becf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-04-12 Jeff Law <law@redhat.com> + + * config/cris/cris.md (cris_preferred_reload_class): Return + GENNONACR_REGS rather than GENERAL_REGS. + 2017-04-12 Jakub Jelinek <jakub@redhat.com> PR c/80163 diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 21137bd..8c134a6 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -1597,7 +1597,7 @@ cris_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass) && rclass != SRP_REGS && rclass != CC0_REGS && rclass != SPECIAL_REGS) - return GENERAL_REGS; + return GENNONACR_REGS; return rclass; } |