cris.md (cris_preferred_reload_class): Return GENNONACR_REGS rather than GENERAL_REGS.
authorJeff Law <law@redhat.com>
Wed, 12 Apr 2017 14:58:23 +0000 (08:58 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 12 Apr 2017 14:58:23 +0000 (08:58 -0600)
* config/cris/cris.md (cris_preferred_reload_class): Return
GENNONACR_REGS rather than GENERAL_REGS.

From-SVN: r246877

gcc/ChangeLog
gcc/config/cris/cris.c

index 3a7675e10c2c836946518b99cdfc32e2602ae2dc..fc0becfe49fdf7da149296085bf81bd206e107b9 100644 (file)
@@ -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
index 21137bda9c60f7ecdee1bb3d8b20dccb0a0a737a..8c134a6bc8b205e90d212f4cc73086c74579e951 100644 (file)
@@ -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;
 }