Integrated: 8342941: IGV: Add various new graph dumps during loop opts
Saranya Natarajan
snatarajan at openjdk.org
Wed Jul 16 07:47:47 UTC 2025
On Wed, 11 Jun 2025 13:54:20 GMT, Saranya Natarajan <snatarajan at openjdk.org> wrote:
> This changeset adds BEFORE/AFTER graph dumps for creating a post loop (`insert_post_loop()`), removing an empty loop (`do_remove_empty_loop()`), and removing a one iteration loop (`do_one_iteration_loop()`).
>
> Changes:
> - Added `BEFORE_POST_LOOP` and `AFTER_POST_LOOP` for dumping graphs before and after `insert_post_loop()`.
> - Added `BEFORE_REMOVE_EMPTY_LOOP` and `AFTER_REMOVE_EMPTY_LOOP` for dumping graphs before and after `do_remove_empty_loop()`.
> - Added `BEFORE_ONE_ITERATION_LOOP` and `AFTER_ONE_ITERATION_LOOP` for dumping graphs before and after `do_one_iteration_loop()`.
>
> Below are sample screenshots (IGV print level 4 ) mainly showing the new phase .
> 1. `BEFORE_POST_LOOP` and `AFTER_POST_LOOP`
> 
> 2. `BEFORE_POST_LOOP` and `AFTER_POST_LOOP` with SuperWordLoopUnrollAnalysis enabled
> 
> 3.` BEFORE_REMOVE_EMPTY_LOOP `and `AFTER_REMOVE_EMPTY_LOOP`
> 
> 4. `BEFORE_ONE_ITERATION_LOOP` and `AFTER_ONE_ITERATION_LOOP`
> 
>
> Question to reviewers:
> Are the new compiler phases OK, or should we change anything?
>
> Testing:
> GitHub Actions
> tier1 to tier5 on windows-x64, linux-x64, linux-aarch64, macosx-x64, and macosx-aarch64.
> Tested that thousands of graphs are correctly opened and visualized with IGV using the same test used in ([JDK-8317349](https://bugs.openjdk.org/browse/JDK-8317349))
This pull request has now been integrated.
Changeset: 805f1dee
Author: Saranya Natarajan <snatarajan at openjdk.org>
Committer: Daniel Lundén <dlunden at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/805f1deebcf465ba10672a829f0a8c3e11716f9d
Stats: 33 lines in 7 files changed: 26 ins; 0 del; 7 mod
8342941: IGV: Add various new graph dumps during loop opts
Reviewed-by: chagedorn, dlunden
-------------
PR: https://git.openjdk.org/jdk/pull/25756
More information about the hotspot-compiler-dev
mailing list