Commit 99266904 by Ian Lance Taylor Committed by Ian Lance Taylor

lower-subreg.c (resolve_clobber): If the clobber has a LIBCALL note, just delete the insn.

	* lower-subreg.c (resolve_clobber): If the clobber has a LIBCALL
	note, just delete the insn.

From-SVN: r127273
parent 049e9ad9
2007-08-07 Ian Lance Taylor <iant@google.com>
* lower-subreg.c (resolve_clobber): If the clobber has a LIBCALL
note, just delete the insn.
2007-08-07 Andreas Schwab <schwab@suse.de> 2007-08-07 Andreas Schwab <schwab@suse.de>
PR bootstrap/32973 PR bootstrap/32973
......
...@@ -906,6 +906,15 @@ resolve_clobber (rtx pat, rtx insn) ...@@ -906,6 +906,15 @@ resolve_clobber (rtx pat, rtx insn)
if (!resolve_reg_p (reg) && !resolve_subreg_p (reg)) if (!resolve_reg_p (reg) && !resolve_subreg_p (reg))
return false; return false;
/* If this clobber has a REG_LIBCALL note, then it is the initial
clobber added by emit_no_conflict_block. We were able to
decompose the register, so we no longer need the clobber. */
if (find_reg_note (insn, REG_LIBCALL, NULL_RTX) != NULL_RTX)
{
delete_insn (insn);
return true;
}
orig_mode = GET_MODE (reg); orig_mode = GET_MODE (reg);
words = GET_MODE_SIZE (orig_mode); words = GET_MODE_SIZE (orig_mode);
words = (words + UNITS_PER_WORD - 1) / UNITS_PER_WORD; words = (words + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
......
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