Ensure earlyclobbered operands go through a terminate_write stage.

* regrename.c (record_out_operands): Terminate earlyclobbered
	operands here.

From-SVN: r230500
This commit is contained in:
Bernd Schmidt 2015-11-17 21:24:38 +00:00 committed by Bernd Schmidt
parent d534bf561e
commit e85883d400
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2015-11-17 Bernd Schmidt <bschmidt@redhat.com>
* regrename.c (record_out_operands): Terminate earlyclobbered
operands here.
PR target/66785
* regrename.c (record_operand_use): Keep track of failed operands
and stop appending if we see any.

View File

@ -1558,6 +1558,8 @@ record_out_operands (rtx_insn *insn, bool earlyclobber, insn_rr_info *insn_info)
cur_operand = insn_info->op_info + i;
prev_open = open_chains;
if (earlyclobber)
scan_rtx (insn, loc, cl, terminate_write, OP_OUT);
scan_rtx (insn, loc, cl, mark_write, OP_OUT);
/* ??? Many targets have output constraints on the SET_DEST