* config/m32c/m32c.c (m32c_secondary_reload_class): Allow PSI
registers to be reloaded in HI classes when the target is HI.
From-SVN: r176903
+2011-07-28 DJ Delorie <dj@redhat.com>
+
+ * config/m32c/m32c.c (m32c_secondary_reload_class): Allow PSI
+ registers to be reloaded in HI classes when the target is HI.
+
2011-07-28 Sebastian Pop <sebastian.pop@amd.com>
* graphite-clast-to-gimple.c: Replace v1, v2, lb, ub with
if (reg_classes_intersect_p (rclass, CR_REGS)
&& GET_CODE (x) == REG
&& REGNO (x) >= SB_REGNO && REGNO (x) <= SP_REGNO)
- return TARGET_A16 ? HI_REGS : A_REGS;
+ return (TARGET_A16 || mode == HImode) ? HI_REGS : A_REGS;
return NO_REGS;
}