* config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
From-SVN: r38977
This commit is contained in:
parent
b90dbca6f3
commit
89d4bc3599
|
@ -1,5 +1,7 @@
|
||||||
2001-01-13 Alexandre Oliva <aoliva@redhat.com>
|
2001-01-13 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
|
||||||
|
|
||||||
* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
|
* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
|
||||||
optimized away.
|
optimized away.
|
||||||
|
|
||||||
|
|
|
@ -4048,6 +4048,10 @@ sh_expand_epilogue ()
|
||||||
/* Switch back to the normal stack if necessary. */
|
/* Switch back to the normal stack if necessary. */
|
||||||
if (sp_switch)
|
if (sp_switch)
|
||||||
emit_insn (gen_sp_switch_2 ());
|
emit_insn (gen_sp_switch_2 ());
|
||||||
|
|
||||||
|
/* Tell flow the insn that pops PR isn't dead. */
|
||||||
|
if (live_regs_mask & (1 << PR_REG))
|
||||||
|
emit_insn (gen_rtx_USE (VOIDmode, gen_rtx_REG (SImode, PR_REG)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sh_need_epilogue_known = 0;
|
static int sh_need_epilogue_known = 0;
|
||||||
|
|
Loading…
Reference in New Issue