arm.md (movsi): Use can_create_pseudo_p instead of no_new_pseudos.

gcc/
	* config/arm/arm.md (movsi): Use can_create_pseudo_p instead of
	no_new_pseudos.

From-SVN: r126798
This commit is contained in:
Richard Sandiford 2007-07-20 09:20:24 +00:00 committed by Richard Sandiford
parent 30a873c3f3
commit 08a576fb04
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-20 Richard Sandiford <richard@codesourcery.com>
* config/arm/arm.md (movsi): Use can_create_pseudo_p instead of
no_new_pseudos.
2007-07-20 Zdenek Dvorak <dvorakz@suse.cz>
* function.c (thread_prologue_and_epilogue_insns): Fix exit

View File

@ -4682,7 +4682,7 @@
if (GET_CODE (base) == SYMBOL_REF
&& !offset_within_block_p (base, INTVAL (offset)))
{
tmp = no_new_pseudos ? operands[0] : gen_reg_rtx (SImode);
tmp = can_create_pseudo_p () ? gen_reg_rtx (SImode) : operands[0];
emit_move_insn (tmp, base);
emit_insn (gen_addsi3 (operands[0], tmp, offset));
DONE;