C2 cleanup: unify eliminate_useless_... lists

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot

      As discussed with [~chagedorn] here:
      https://github.com/openjdk/jdk/pull/23865#discussion_r1978904536

      It would be good to tread the lists of
      eliminate_useless_zero_trip_guard
      eliminate_useless_multiversion_if
      eliminate_useless_predicates
      all the same.

      We could probably even have some sort of data structure for loop-opts that is shared between the phases. One complicating factor is the concurrent use of verify and non-verify loop-opts phases.

            Assignee:
            Unassigned
            Reporter:
            Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: