Commit d9e71154 by Uros Bizjak Committed by Iain Sandoe

i386.md (nonlocal_goto_receiver): Delete insn if it is not needed after split.


gcc/

2013-07-22  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (nonlocal_goto_receiver): Delete insn if
	it is not needed after split.

From-SVN: r201118
parent b2b0bf39
2013-07-22 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (nonlocal_goto_receiver): Delete insn if
it is not needed after split.
2013-07-20 Iain Sandoe <iain@codesourcery.com> 2013-07-20 Iain Sandoe <iain@codesourcery.com>
PR target/51784 PR target/51784
......
...@@ -16233,12 +16233,7 @@ ...@@ -16233,12 +16233,7 @@
(define_insn_and_split "nonlocal_goto_receiver" (define_insn_and_split "nonlocal_goto_receiver"
[(unspec_volatile [(const_int 0)] UNSPECV_NLGR)] [(unspec_volatile [(const_int 0)] UNSPECV_NLGR)]
"TARGET_MACHO && !TARGET_64BIT && flag_pic" "TARGET_MACHO && !TARGET_64BIT && flag_pic"
{ "#"
if (crtl->uses_pic_offset_table)
return "#";
else
return ""; /* No pic reg restore needed. */
}
"&& reload_completed" "&& reload_completed"
[(const_int 0)] [(const_int 0)]
{ {
...@@ -16258,6 +16253,10 @@ ...@@ -16258,6 +16253,10 @@
xops[2] = gen_rtx_CONST (Pmode, tmp); xops[2] = gen_rtx_CONST (Pmode, tmp);
ix86_expand_binary_operator (MINUS, SImode, xops); ix86_expand_binary_operator (MINUS, SImode, xops);
} }
else
/* No pic reg restore needed. */
emit_note (NOTE_INSN_DELETED);
DONE; 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