C2: Investigate if the matcher unnecessarily clones indirect memory inputs on aarch64

XMLWordPrintable

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

      In JDK-8331295, we discovered that the C2 matcher (instruction selector) unnecessarily clones address computations that are indirect memory input to memory access instructions. The fix for JDK-8331295 covers only a particular case of volatile loads and stores. It may be of interest to do a more rigorous check to see if there are other nodes, that are also cloned indirect memory inputs, that could benefit from a similar treatment.

            Assignee:
            Unassigned
            Reporter:
            Daniel Lunden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: