RFR: 8342692: C2: long counted loop/long range checks: don't create loop-nest for short running loops [v22]
Emanuel Peter
epeter at openjdk.org
Mon May 26 19:00:07 UTC 2025
On Wed, 21 May 2025 07:42:47 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> It could be named `ShortRunningLongLoopIterationLimit`.
>
> See https://github.com/openjdk/jdk/pull/21630#issuecomment-2896932626
> I don't think this makes sense. As long as we can avoid the loop nest, that should be beneficial. There's no benefit to the loop nest but it can be required for correctness. So I don't expect we want to tune anything.
It could be helpful if you say what we still do:
- do we still convert to int-loop?
- Do we still strip-mine?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21630#discussion_r2107744719
More information about the hotspot-compiler-dev
mailing list