RFR: 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit

Tobias Hartmann thartmann at openjdk.org
Wed Jun 5 06:01:58 UTC 2024


On Mon, 3 Jun 2024 12:39:05 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> If the Signed Loop Exit Test is false, then the (original) Unsigned Loop Exit Test will make sure to exit the loop if required.

Is that comment incorrect then?

https://github.com/openjdk/jdk/blob/2edb6d98133d8bd6dc4527c7497c460283fdc53e/src/hotspot/share/opto/loopopts.cpp#L2993-L2994

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

PR Review: https://git.openjdk.org/jdk/pull/19522#pullrequestreview-2098103875


More information about the hotspot-compiler-dev mailing list