RVM
  1. RVM
  2. RVM-239

Restructuring of how compiler phases are organized, use of pre/post conditions

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0, 2.9.0.1, 2.9.1
    • Fix Version/s: 1000
    • Component/s: Compiler: Optimizing
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This issue supersedes RFE 1147138.

      Currently compiler phases may call phases within themselves. Compiler phases are also wrapped in optimizations plan elements which is beneficial in creating composite elements (in particular for producing high-level compiler phase timing information). This wrapping and calling of phases makes it confusing as to where certain properties of IR hold. It means also that we may recompute side data structures for the IR, such as dominator information, when there is no need. We should create a scheme where we can organize compiler phases and have phases inserted into compiler plans when we know we require certain side data structures to be present. Examples of properties that can be conditions are:

      • SSA flavor
      • liveness
      • dominators
      • register lists

        Activity

        Hide
        Ian Rogers added a comment -

        There are also useful comments in the sourceforge RFE tracker 1571187.

        Show
        Ian Rogers added a comment - There are also useful comments in the sourceforge RFE tracker 1571187.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ian Rogers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: