RFR: 8280076: Unify IGV and IR printing [v4]

Nils Eliasson neliasso at openjdk.java.net
Tue Jan 18 08:39:00 UTC 2022


> This patch adds support for controlling printing of the textual ideal representation (PrintIdeal) in the same way as the printing of IGV graphs currently works. The new flag PrintIdealLevel uses the same phases and levels as the PrintIdealGraphLevel flag. This new flag also gets added to CompileCommand and CompilerDirectives. 
> 
> The motivation for this change is to add support for testing during different phases with the TestIR framework.
> 
> The old flag (PrintIdeal) is kept intact for now.
> 
> This patch is based upon https://github.com/openjdk/jdk/pull/7088
> 
> Please review,
> Nils

Nils Eliasson has updated the pull request incrementally with one additional commit since the last revision:

  Fix feedback

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7108/files
  - new: https://git.openjdk.java.net/jdk/pull/7108/files/b423d6b3..1a3d2519

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7108&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7108&range=02-03

  Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7108.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7108/head:pull/7108

PR: https://git.openjdk.java.net/jdk/pull/7108


More information about the hotspot-compiler-dev mailing list