RFR: 8276108: Wrong instruction generation in aarch64 backend [v2]
Andrew Haley
aph at openjdk.java.net
Thu Nov 25 12:36:07 UTC 2021
On Wed, 24 Nov 2021 14:15:34 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:
> On second thought, we should only use legitimate_address() when it's necessary, to avoid the additional overhead when actual base+offset addressing modes are available.
No, we should not do that. `legitimize_address()` is the oracle that decides when `legitimize_address()` is necessary. Please use it in the way that it is intended to be used.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6212
More information about the hotspot-compiler-dev
mailing list