RFR: 8367967: C2: "fatal error: Not monotonic" with Mod nodes [v3]
    Hannes Greule 
    hgreule at openjdk.org
       
    Mon Sep 29 18:43:44 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
Thanks everyone for the reviews :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27408#issuecomment-3348550904
    
    
More information about the hotspot-compiler-dev
mailing list