Commit 08a576fb by Richard Sandiford Committed by Richard Sandiford

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
parent 30a873c3
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment