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

Emanuel Peter epeter at openjdk.org
Tue Mar 5 13:39:51 UTC 2024


On Mon, 4 Mar 2024 18:20:41 GMT, Vladimir Kozlov <kvn 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).
>
> Good.

Thanks @vnkozlov @theRealAph @lgxbslgx for the reviews!
Thanks @fg1417 for the original PR and patching up the test.

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

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


More information about the hotspot-compiler-dev mailing list