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

Tobias Hartmann thartmann at openjdk.java.net
Tue Jan 18 16:32:38 UTC 2022


On Tue, 18 Jan 2022 08:39:00 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:

>> 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

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list