Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-239

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

    Details

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

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ianrogers Ian Rogers added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated: