RFR: 8367967: C2: "fatal error: Not monotonic" with Mod nodes [v3]
Vladimir Ivanov
vlivanov at openjdk.org
Thu Sep 25 22:18:20 UTC 2025
On Tue, 23 Sep 2025 08:28:00 GMT, Hannes Greule <hgreule at openjdk.org> wrote:
>> Generally, we shouldn't return a wider type (ZERO) if there is a later case that would return a more narrow type (TOP) for the same input types. If the inputs are widened and the first case doesn't match anymore but the later one still does, the result is not monotonic with the previous result.
>>
>> Please review :)
>
> Hannes Greule has updated the pull request incrementally with one additional commit since the last revision:
>
> move test
Marked as reviewed by vlivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27408#pullrequestreview-3269606906
More information about the hotspot-compiler-dev
mailing list