* combine.c (struct insn_link): New field `regno'.
commit1a8f2996c39926e89c373e1ed2134728a54c5788
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2014 18:26:20 +0000 (1 18:26 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2014 18:26:20 +0000 (1 18:26 +0000)
tree614235e83afd25d65afa5ee8cffb6491b5c709cf
parent7140b25569bde16be752d09ef34a332869a26aa1
* combine.c (struct insn_link): New field `regno'.
(alloc_insn_link): New parameter `regno'.  Use it.
(find_single_use): Check the new field.
(can_combine_def_p, can_combine_use_p): New functions.  Split
off from ...
(create_log_links): ... here.  Correct data type of `regno'.
Adjust call to alloc_insn_link.
(adjust_for_new_dest): Find regno, use it in call to
alloc_insn_link.
(try_combine): Check reg_used_between_p when combining a PARALLEL
as earlier insn.  Adjust call to alloc_insn_link.
(distribute_links): Check the new field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218241 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c