Tie chains for move instructions.
authorRobert Suchanek <robert.suchanek@imgtec.com>
Tue, 10 Nov 2015 09:12:52 +0000 (09:12 +0000)
committerRobert Suchanek <rts@gcc.gnu.org>
Tue, 10 Nov 2015 09:12:52 +0000 (09:12 +0000)
commit0d20a76b28b1ea7935412f2778b250aea5d63f22
tree6d7c7be18694fc0b82bcf54def8e11de69eb30a8
parent66d662de1cc20000cb56a1c19685ad9b6b62d353
Tie chains for move instructions.

gcc/
* regrename.c (create_new_chain): Initialize renamed and tied_chain.
(build_def_use): Initialize terminated_this_insn.
(find_best_rename_reg): Pick and check register from the tied chain.
(regrename_do_replace): Mark head as renamed.
(struct du_head *terminated_this_insn). New static variable.
(scan_rtx_reg): Tie chains in move insns.  Set terminated_this_insn.
* regrename.h (struct du_head): Add tied_chain, renamed members.

From-SVN: r230087
gcc/ChangeLog
gcc/regrename.c
gcc/regrename.h