RFR: 8321823: Remove redundant PhaseGVN transform_no_reclaim [v3]

Joshua Cao duke at openjdk.org
Thu Dec 14 18:19:12 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.

Joshua Cao has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into gvntransform
 - Fix formatting
 - 8321823: Remove redundant PhaseGVN transform and transform_no_reclaim

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17071/files
  - new: https://git.openjdk.org/jdk/pull/17071/files/09225453..5ea1c16c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17071&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17071&range=01-02

  Stats: 1486 lines in 97 files changed: 756 ins; 375 del; 355 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