arm.c (arm_preferred_reload_class): Only return LO_REGS when rclass is GENERAL_REGS.

2013-12-02  Yvan Roux  <yvan.roux@linaro.org>

        * config/arm/arm.c (arm_preferred_reload_class): Only return LO_REGS
        when rclass is GENERAL_REGS.

From-SVN: r205581
This commit is contained in:
Yvan Roux 2013-12-02 07:44:34 +00:00 committed by Yvan Roux
parent df0f339235
commit 54227be563
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-12-02 Yvan Roux <yvan.roux@linaro.org>
* config/arm/arm.c (arm_preferred_reload_class): Only return LO_REGS
when rclass is GENERAL_REGS.
2013-12-02 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
* loop-unroll.c (decide_unroll_constant_iterations): Check macro

View File

@ -6980,10 +6980,7 @@ arm_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass)
return rclass;
else
{
if (rclass == GENERAL_REGS
|| rclass == HI_REGS
|| rclass == NO_REGS
|| rclass == STACK_REG)
if (rclass == GENERAL_REGS)
return LO_REGS;
else
return rclass;