RFR: 8321823: Remove redundant PhaseGVN transform and transform_no_reclaim

Joshua Cao duke at openjdk.org
Tue Dec 12 00:42:46 UTC 2023


`PhaseGVN::transform` is just a one line wrapper around `PhaseGVN::transform_no_reclaim`. Looking at the history, they had different functionality in 2008, but since have become the same thing. We prefer to keep `PhaseGVN::transform` because it has hundreds of callsites, while the other only has a few callsites that are shown in the PR.

Passes tier1 locally on my Linux machine.

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

Commit messages:
 - 8321823: Remove redundant PhaseGVN transform and transform_no_reclaim

Changes: https://git.openjdk.org/jdk/pull/17071/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17071&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321823
  Stats: 20 lines in 5 files changed: 0 ins; 8 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/17071.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17071/head:pull/17071

PR: https://git.openjdk.org/jdk/pull/17071


More information about the hotspot-compiler-dev mailing list