[jdk20] RFR: 8299733: AArch64: "unexpected literal addressing mode" assertion failure with -XX:+PrintC1Statistics [v3]

Andrew Haley aph at openjdk.org
Wed Jan 11 10:04:25 UTC 2023


On Wed, 11 Jan 2023 01:23:21 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> ```
> bool uses(Register reg) const {
>   return _mode != literal && (base() == reg || index == reg);
> }
> ```

Mmm, but that's fragile under change too, e.g. if we get another literal type. I guess you can argue that's never likely to happen, but I don't think it's appropriate to choose a less robust solution now.

-------------

PR: https://git.openjdk.org/jdk20/pull/87


More information about the hotspot-compiler-dev mailing list