Useless CastPPs added by PhiNode::Ideal optimization

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 19, 20
    • Component/s: hotspot

      As described in the PR of JDK-8280696 (https://github.com/openjdk/jdk/pull/8770), the following code might add a useless CastPP with a strong dependency that blocks other optimizations:
      https://github.com/openjdk/jdk/blob/aa7ccdf44549a52cce9e99f6569097d3343d9ee4/src/hotspot/share/opto/cfgnode.cpp#L2013-L2016

      The code was originally introduced by 8139771.

            Assignee:
            Unassigned
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: