[lworld] Better optimize null-checks in C1

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      - GraphBuilder::null_check, Canonicalizer::do_NullCheck and Canonicalizer::do_InstanceOf should check for NewInlineTypeInstance
      - Canonicalizer::do_If should check for NewInlineTypeInstance in the rt == objectNull branch
      - We should make use of the fact that check cast now also checks for null and that inline types are null-free
      - We should evaluate if NullCheckEliminator should be extended to handle inline types

            Assignee:
            Frederic Parain
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: