RFR: 8331252: C2: MergeStores: handle negative shift values

Aleksey Shipilev shade at openjdk.org
Mon Apr 29 17:36:06 UTC 2024


On Mon, 29 Apr 2024 15:43:06 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Somehow, I have not thought of negative shift constants, and there was no regression test for it.
> The fuzzer now found a case.
> 
> **I convert the assert into a condition.**

Ah, just caught it in my testing. Fix looks good.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19001#pullrequestreview-2029137160


More information about the hotspot-compiler-dev mailing list