JDK-8280378 : [IR Framework] Support IR matching for different compile phases
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19,20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-01-20
  • Updated: 2023-07-21
  • Resolved: 2022-11-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b22Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
JDK-8280076 added the ability to print the IR with a PrintIdeal compile command based on the IGV printing phases. This provides the basis for extending the IR framework to support IR matching after different compilation phases.

This could be done by introducing a phase attribute to the @IR annotation.
Comments
Changeset: f829b5a7 Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2022-11-01 15:41:09 +0000 URL: https://git.openjdk.org/jdk/commit/f829b5a73f699ca7fc513f491f77daae6c8f4ed9
01-11-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10695 Date: 2022-10-13 12:00:42 +0000
13-10-2022

https://github.com/robcasloz/zgc/commit/781fe22fbf77b72b3a0aa72be58cf4665240caef adds Q&D support for selecting the IR phase globally (i.e. for all tests). It could perhaps be used as a starting point for this RFE.
05-08-2022