RFR: 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug"

Emanuel Peter epeter at openjdk.org
Mon Mar 4 11:53:07 UTC 2024


On Mon, 4 Mar 2024 09:46:56 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Taking this over from @fg1417, she seems to be "on leave" according to her GitHub account.
> 
> I'm taking her regression test (she improved the reproducer that I had originally reported the bug with).
> 
> It is ok to just remove the assert, because the address is "sanitized" after the assert, i.e. we use a `lea` instruction to compute the address.
> 
> But I'm simply removing the assert, as suggested in the comments of the previous [PR](https://github.com/openjdk/jdk/pull/16991#issuecomment-1962307596).

@fg1417 wrote a first [PR](https://github.com/openjdk/jdk/pull/16991), but gave it up. I'm taking over the test, but not her fix.
(I had found the original reproducer, but she improved the test further, so I want to give her credit for that)

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

PR Comment: https://git.openjdk.org/jdk/pull/18103#issuecomment-1976168583


More information about the hotspot-compiler-dev mailing list