RFR: 8342809: C2 hits "assert(is_If()) failed: invalid node class: Con" during IGVN due to unhandled top

Roland Westrelin roland at openjdk.org
Tue Oct 22 11:19:40 UTC 2024


On Tue, 22 Oct 2024 10:55:24 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> `RegularPredicate::may_be_predicate_if()` is now called from the `AssertionPredicateWithHalt` class which is invoked during IGVN. We therefore need to be able to handle top as a possible input for an Assertion Predicate success projection. This patch fixes this.
> 
> Thanks,
> Christian

Looks good to me.

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

Marked as reviewed by roland (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21634#pullrequestreview-2384877561


More information about the hotspot-compiler-dev mailing list