Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283692

Add PrintIdealPhase that includes block scheduling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • b16

      This patch adds:

      1) A new method Output::print_scheduling() that encapsulates the ir node printing on blocks
      2) Modifying print_ideal_ir to use the print_scheduling() when there is a scheduling available
      3) A new compiler phase MACH_ANALYSIS after the mach dependent optimizations.

      Motivation:
      This is used by the IR-test framework when testing optimizations on mach-nodes, and is a requirement to be able to test peephole-optimizations (because peephole-removed nodes are only removed from the scheduling, not from the graph.)

      Having a method for print_scheduling() is also very useful when debugging.

            neliasso Nils Eliasson (Inactive)
            neliasso Nils Eliasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: