Integrated: 8330004: Refactor cloning down code in Split If for Template Assertion Predicates
Christian Hagedorn
chagedorn at openjdk.org
Mon Apr 22 06:09:35 UTC 2024
On Wed, 10 Apr 2024 13:19:11 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> This is another patch split off https://github.com/openjdk/jdk/pull/16877. It refactors the "cloning down" code for Split If with Template Assertion Predicates. This mainly includes the replacement of `subgraph_has_opaque()` with a new class `TemplateAssertionPredicateExpressionNode`. More details can be found as PR comments.
>
> #### Background
>
> The cloning down code is required in Split If when trying to split any node up that belongs to a Template Assertion Predicate Expression (TAPE) (including the `OpaqueLoop*` nodes). We need to prevent that to avoid having any phi nodes in the TAPE which could result in failures when trying to later match and clone Template Assertion Predicates. Instead of cloning such a TAPE node up, we clone ("down") the entire TAPE.
>
> Thanks,
> Christian
This pull request has now been integrated.
Changeset: 20546c1e
Author: Christian Hagedorn <chagedorn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/20546c1ea064daa8e2faa71142904ea2c62b3311
Stats: 320 lines in 7 files changed: 237 ins; 65 del; 18 mod
8330004: Refactor cloning down code in Split If for Template Assertion Predicates
Reviewed-by: epeter, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/18723
More information about the hotspot-compiler-dev
mailing list