RFR: 8367967: C2: "fatal error: Not monotonic" with Mod nodes [v3]

Benoît Maillard bmaillard at openjdk.org
Fri Sep 26 07:02: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 bmaillard (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/27408#pullrequestreview-3270427832


More information about the hotspot-compiler-dev mailing list