[lworld] Integrated: 8275797: [lworld] Scalar replacement fails with ShouldNotReachHere() due to unexpected load type

Tobias Hartmann thartmann at openjdk.java.net
Mon Oct 25 11:24:17 UTC 2021


On Mon, 25 Oct 2021 10:36:39 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> When folding a field load from a scalar replaced, flat inline type array through an array copy, `T_ARRAY` is used instead of `T_OBJECT`. The fix is to simply convert the basic type of the field via `type2field` like we do in `InlineTypeBaseNode::load` and at other places.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 600ecaf5
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/600ecaf588aa67df241d07c88964b417c0a6a772
Stats:     19 lines in 2 files changed: 18 ins; 0 del; 1 mod

8275797: [lworld] Scalar replacement fails with ShouldNotReachHere() due to unexpected load type

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

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



More information about the valhalla-dev mailing list