IfNode::dominated_by() and PhaseIdealLoop::dominated_by() don't match

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 11, 17, 18
    • Component/s: hotspot

      PhaseIdealLoop::dominated_by() has this logic:

      if (exclude_loop_predicate && (unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_profile_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_range_check) != NULL)) {

      while IfNode::dominated_by() has:

      if (unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_profile_predicate) != NULL) {

      The 2 should match I think.

            Assignee:
            Roland Westrelin
            Reporter:
            Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: