re PR rtl-optimization/80818 (LRA clobbers live hard reg clobbered during remateriali...
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 29 Nov 2017 22:19:25 +0000 (22:19 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 29 Nov 2017 22:19:25 +0000 (22:19 +0000)
commit561c58b4d9d0c4d17a29bc38b50fa2b4762f0afb
treec54428aef5fb6767ddb65edb4298c7f368b938d9
parent08539f3e949c37dcfe6e128d78c527db47cc609d
re PR rtl-optimization/80818 (LRA clobbers live hard reg clobbered during rematerialization)

2017-11-29  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/80818
* lra.c (collect_non_operand_hard_regs): New arg insn.  Pass it
recursively.  Use insn code for clobber.
(lra_set_insn_recog_data): Pass the new arg to
collect_non_operand_hard_regs.
(add_regs_to_insn_regno_info): Pass insn instead of uid.  Use insn
code for clobber.
(lra_update_insn_regno_info): Pass insn to
add_regs_to_insn_regno_info.

From-SVN: r255258
gcc/ChangeLog
gcc/lra.c