On 09/12/2016 07:43 AM, Bernd Edlinger wrote:
Hi,
the attached patch boot-straps and reg-tests cleanly
on x86_64-pc-linux-gnu, powerpc and aarch64 targets.
Is it OK for trunk?
Thanks
Bernd.
patch-pr77289.diff
2016-09-12 Bernd Edlinger <bernd.edlin...@hotmail.de>
PR rtl-optimization/77289
* lra-constraints.c (get_final_hard_regno): Removed.
(get_hard_regno): Add new parameter final_p.
(get_reg_class): Directly call lra_get_elimination_hard_regno.
(operands_match_p): Adjust call to get_hard_regno.
(uses_hard_regs_p): Likewise.
(process_alt_operands): Likewise.
A bit painful to follow as there's cleanup mixed in with the bugfix.
Thanks for pointing out the key change in the follow-up, that helped
considerably.
OK.
jeff