Integrated: 8313262: C2: Sinking node may cause required cast to be dropped
Roland Westrelin
roland at openjdk.org
Wed Aug 23 09:17:14 UTC 2023
On Tue, 22 Aug 2023 07:29:13 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> When a node is sunk out of a loop a cast node is created to pin the
> node out of the loop. When a chain of nodes is sunk, we don't want a
> cast node per node in the chain but rather one to pin the last of the
> chain. So the logic for sinking nodes looks for unneeded cast
> nodes. The test for what makes a cast unneeded is incorrect and causes
> a cast to not null to be wrongly removed.
This pull request has now been integrated.
Changeset: 1cee3b9f
Author: Roland Westrelin <roland at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1cee3b9fd9720e7938029a6992460b9053e65e57
Stats: 69 lines in 2 files changed: 68 ins; 0 del; 1 mod
8313262: C2: Sinking node may cause required cast to be dropped
Reviewed-by: chagedorn, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/15380
More information about the hotspot-compiler-dev
mailing list