RFR: 8342692: C2: long counted loop/long range checks: don't create loop-nest for short running loops [v7]
Emanuel Peter
epeter at openjdk.org
Thu Dec 12 15:14:38 UTC 2024
On Thu, 12 Dec 2024 14:02:42 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
> As a result, when the loop body is small enough, you can clone the loop and create the loop nest for one of them.
So we could do multiversioning. I'm currently experimenting with runtime-checks for Aliasing Analysis in SuperWord, so I'll use both a trap and a multiversioning approach. Just FYI, in case we end up both doing this we should come up with a common way to do multiversioning.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21630#issuecomment-2539236831
More information about the hotspot-compiler-dev
mailing list