i386.c (dimode_scalar_chain::convert_op): Avoid sharing the SUBREG rtx between move and following insn.

* config/i386/i386.c (dimode_scalar_chain::convert_op): Avoid
	sharing the SUBREG rtx between move and following insn.

From-SVN: r243018
This commit is contained in:
Jakub Jelinek 2016-11-30 14:02:07 +01:00 committed by Jakub Jelinek
parent 2c79732120
commit 7bbc950b36
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2016-11-30 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (dimode_scalar_chain::convert_op): Avoid
sharing the SUBREG rtx between move and following insn.
* ira.c (ira_update_equiv_info_by_shuffle_insn): Use copy_rtx
for REG_EQUIV argument.

View File

@ -3723,7 +3723,7 @@ dimode_scalar_chain::convert_op (rtx *op, rtx_insn *insn)
emit_insn_before (seq, insn);
}
emit_insn_before (gen_move_insn (tmp, vec_cst), insn);
emit_insn_before (gen_move_insn (copy_rtx (tmp), vec_cst), insn);
*op = tmp;
}
else