RFR: 8342047: Create Template Assertion Predicates with Halt nodes only instead of uncommon traps [v3]

Tobias Hartmann thartmann at openjdk.org
Thu Nov 14 06:46:14 UTC 2024


On Wed, 13 Nov 2024 12:07:42 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Maybe there should be some sort of `UnswitchingResult`, that has the projections and `old_new` mapping? That could then be passed as a result. What do you think? Can be a separate RFE of course.
>
> Adventurous indeed. However, I'm planning to get rid of all this predicate code for Loop Unswitching anyway with [JDK-8344035](https://bugs.openjdk.org/browse/JDK-8344035). So, I guess it's fine to not further update the code at this point.

It's quite common to pass a pointer by reference in C2 code, unfortunately.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22040#discussion_r1841646298


More information about the hotspot-compiler-dev mailing list