RFR: 8325674: Constant fold across compares [v3]

Joshua Cao duke at openjdk.org
Sun Mar 31 08:15:13 UTC 2024


On Thu, 7 Mar 2024 08:29:10 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Joshua Cao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   comments with explanations and style changes
>
> src/hotspot/share/opto/type.cpp line 1761:
> 
>> 1759:   }
>> 1760:   return true;
>> 1761: }
> 
> Do you maybe want to assert that no other opcode comes in? Or is there a need for non add/sub opcodes to be passed in?

Added assertions

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17853#discussion_r1545575785


More information about the hotspot-compiler-dev mailing list