C2: Implement Bitwise Liveness Analysis

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: hs25, 9, 10
    • Component/s: hotspot

      In the long term, we should think about adding bitwise liveness analysis into the system, instead of using pattern matching. If the live bits out of a LoadB are contained in 0xFF, then we can transform to LoadUB.

      Doing this would require a type system that can represent per-bit liveness, and an analysis phase that pushes such types backwards through the graph. That is a straightforward extension of our existing type system, augmenting the existing arithmetic range endpoints with corresponding bit masks.

      — John

            Assignee:
            Unassigned
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: