[lworld] Integrated: 8271234: [lworld] InlineTypeBaseNode::merge_with fails with assert(i < _cnt)

Tobias Hartmann thartmann at openjdk.java.net
Tue Aug 3 15:13:45 UTC 2021

On Tue, 3 Aug 2021 14:25:46 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Transformation of phis in `InlineTypeBaseNode::merge_with` during IGVN can lead to other, not yet processed, phi nodes to be transformed as well, before their inputs are adjusted. In the failing case, a phi input is removed. The fix is to delay transformation of the phis during IGVN by adding them to the worklist.
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 709cb06f
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/709cb06ff55eda70dd941e7f7f7d48c5900277fd
Stats:     27 lines in 3 files changed: 23 ins; 2 del; 2 mod

8271234: [lworld] InlineTypeBaseNode::merge_with fails with assert(i < _cnt)


PR: https://git.openjdk.java.net/valhalla/pull/517

More information about the valhalla-dev mailing list