On Fri, 10 Apr 2026 07:19:42 GMT, Roland Westrelin <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: 2af456df Author: Roland Westrelin <[email protected]> URL: https://git.openjdk.org/valhalla/commit/2af456df777229443119450217457701e93afe27 Stats: 428 lines in 5 files changed: 311 ins; 74 del; 43 mod 8302217: [lworld] Infinite invocation of PhiNode::push_inline_types_through Reviewed-by: thartmann ------------- PR: https://git.openjdk.org/valhalla/pull/2316
