Allow a port to use pseudos as call args; don't put them in the fusage.
* expr.c (use_reg_mode): Just return for pseudo registers. From-SVN: r217198
This commit is contained in:
parent
9cb6671480
commit
11717c64bf
@ -1,5 +1,7 @@
|
||||
2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
|
||||
|
||||
* expr.c (use_reg_mode): Just return for pseudo registers.
|
||||
|
||||
* combine.c (try_combine): Don't allow a call as one of the source
|
||||
insns.
|
||||
|
||||
|
@ -2342,7 +2342,10 @@ copy_blkmode_to_reg (machine_mode mode, tree src)
|
||||
void
|
||||
use_reg_mode (rtx *call_fusage, rtx reg, machine_mode mode)
|
||||
{
|
||||
gcc_assert (REG_P (reg) && REGNO (reg) < FIRST_PSEUDO_REGISTER);
|
||||
gcc_assert (REG_P (reg));
|
||||
|
||||
if (!HARD_REGISTER_P (reg))
|
||||
return;
|
||||
|
||||
*call_fusage
|
||||
= gen_rtx_EXPR_LIST (mode, gen_rtx_USE (VOIDmode, reg), *call_fusage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user