rs6000.md (movsf): Don't convert a SUBREG of the function return register into a plain REG until...

* config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
of the function return register into a plain REG until
after function inlining is done.

From-SVN: r30224
This commit is contained in:
Geoff Keating 1999-10-28 00:24:32 +00:00 committed by Geoffrey Keating
parent e218fc41a8
commit 62961522f7
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
* config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
of the function return register into a plain REG until
after function inlining is done.
Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com> Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
* jump.c (jump_optimize_1): If we did cross-jumping, and * jump.c (jump_optimize_1): If we did cross-jumping, and

View File

@ -6256,7 +6256,9 @@
reg. So expand it. */ reg. So expand it. */
if (GET_CODE (operands[0]) == SUBREG if (GET_CODE (operands[0]) == SUBREG
&& GET_CODE (SUBREG_REG (operands[0])) == REG && GET_CODE (SUBREG_REG (operands[0])) == REG
&& REGNO (SUBREG_REG (operands[0])) < FIRST_PSEUDO_REGISTER) && REGNO (SUBREG_REG (operands[0])) < FIRST_PSEUDO_REGISTER
&& (! REG_FUNCTION_VALUE_P (SUBREG_REG (operands[0]))
|| ! rtx_equal_function_value_matters))
operands[0] = alter_subreg (operands[0]); operands[0] = alter_subreg (operands[0]);
if (GET_CODE (operands[1]) == SUBREG if (GET_CODE (operands[1]) == SUBREG
&& GET_CODE (SUBREG_REG (operands[1])) == REG && GET_CODE (SUBREG_REG (operands[1])) == REG