RFR: 8280696: C2 compilation hits assert(is_dominator(c, n_ctrl)) failed

Vladimir Kozlov kvn at openjdk.java.net
Wed May 18 16:41:40 UTC 2022


On Wed, 18 May 2022 15:42:36 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> That code was introduced by JDK-8231291. Maybe @rwestrel can comment on why it's necessary to create individual Phis for base and address.

Bug!!!:
https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/cfgnode.cpp#L2168
should use `AddPNode::Base`:

        if (in(i)->in(AddPNode::Base) != base) {
          base = NULL;
        }

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

PR: https://git.openjdk.java.net/jdk/pull/8770


More information about the hotspot-compiler-dev mailing list