Commit c187d33c by Ulrich Weigand Committed by Ulrich Weigand

* config/spu/spu.c (spu_expand_epilogue): Do not emit barrier.

From-SVN: r173028
parent 40982661
2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu.c (spu_expand_epilogue): Do not emit barrier.
2011-04-27 Jan Hubicka <jh@suse.cz> 2011-04-27 Jan Hubicka <jh@suse.cz>
* ipa-prop.c (function_insertion_hook_holder): New holder. * ipa-prop.c (function_insertion_hook_holder): New holder.
......
...@@ -2107,7 +2107,7 @@ spu_expand_epilogue (bool sibcall_p) ...@@ -2107,7 +2107,7 @@ spu_expand_epilogue (bool sibcall_p)
int size = get_frame_size (), offset, regno; int size = get_frame_size (), offset, regno;
HOST_WIDE_INT saved_regs_size, total_size; HOST_WIDE_INT saved_regs_size, total_size;
rtx sp_reg = gen_rtx_REG (Pmode, STACK_POINTER_REGNUM); rtx sp_reg = gen_rtx_REG (Pmode, STACK_POINTER_REGNUM);
rtx jump, scratch_reg_0; rtx scratch_reg_0;
if (spu_naked_function_p (current_function_decl)) if (spu_naked_function_p (current_function_decl))
return; return;
...@@ -2149,10 +2149,8 @@ spu_expand_epilogue (bool sibcall_p) ...@@ -2149,10 +2149,8 @@ spu_expand_epilogue (bool sibcall_p)
if (!sibcall_p) if (!sibcall_p)
{ {
emit_use (gen_rtx_REG (SImode, LINK_REGISTER_REGNUM)); emit_use (gen_rtx_REG (SImode, LINK_REGISTER_REGNUM));
jump = emit_jump_insn (gen__return ()); emit_jump_insn (gen__return ());
emit_barrier_after (jump);
} }
} }
rtx rtx
......
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