[PATCH v2 1/2] RISC-V: Add shorten_memrefs pass
Jeff Law
law@redhat.com
Sat Oct 26 20:16:00 GMT 2019
On 10/26/19 1:33 PM, Andrew Waterman wrote:
> I don't know enough to say whether the legitimize_address hook is
> sufficient for the intended purpose, but I am sure that RISC-V's
> concerns are not unique: other GCC targets have to cope with
> offset-size constraints that are coupled to register-allocation
> constraints.
Yup. I think every risc port in the 90s faces this problem. I always
wished for a generic mechanism for ports to handle this problem.
Regardless, it's probably worth investigating.
jeff
More information about the Gcc-patches
mailing list