RFR: 8342692: C2: long counted loop/long range checks: don't create loop-nest for short running loops [v32]

Emanuel Peter epeter at openjdk.org
Mon May 26 19:27:02 UTC 2025


On Mon, 26 May 2025 18:56:38 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/opto/castnode.cpp line 339:
> 
>> 337: }
>> 338: 
>> 339: bool CastLLNode::cmp_used_at_inner_loop_exit_test(Node* cmp) {
> 
> Assert that `cmp` is really a `CmpNode`?

Or test for `Cmp`, or make it a `CmpNode` :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21630#discussion_r2107755593


More information about the hotspot-compiler-dev mailing list