> I propose transforming:
> 
> (InlineType .... (InlineType oop
> 
> 
> where an `InlineType` references another `InlineType` node (maybe itself) 
> through its `oop` input and with `Phi` or cast nodes in the subgraph in 
> between into:
> 
> 
> (InlineType .... oop
> 
> which requires cloning every cast or `Phi` nodes in the subgraph between the 
> 2 `InlineType` nodes. That prevent sinfinite invocation of 
> `PhiNode::push_inline_types_through` and cleans up the graph.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Roland Westrelin 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 10 additional commits 
since the last revision:

 - review
 - Merge branch 'lworld' into JDK-8302217
 - more
 - more
 - cleanup
 - more
 - more
 - more
 - more
 - fix

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/2316/files
  - new: https://git.openjdk.org/valhalla/pull/2316/files/8fc2f817..0b6828ba

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2316&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2316&range=00-01

  Stats: 124675 lines in 1401 files changed: 24911 ins; 93563 del; 6201 mod
  Patch: https://git.openjdk.org/valhalla/pull/2316.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2316/head:pull/2316

PR: https://git.openjdk.org/valhalla/pull/2316

Reply via email to