Integrated: 8349361: C2: RShiftL should support all applicable transformations that RShiftI does

Roland Westrelin roland at openjdk.org
Wed Mar 26 14:41:28 UTC 2025


On Tue, 4 Feb 2025 13:02:47 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> This change refactors `RShiftI`/`RshiftL` `Ideal`, `Identity` and
> `Value` because the `int` and `long` versions are very similar and so
> there's no logic duplication. In the process, support for some extra
> transformations is added to `RShiftL`. I also added some new test
> cases.

This pull request has now been integrated.

Changeset: 79bffe2f
Author:    Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/79bffe2f28f90986d45f4e91efc021290b4fc00a
Stats:     373 lines in 8 files changed: 238 ins; 58 del; 77 mod

8349361: C2: RShiftL should support all applicable transformations that RShiftI does

Reviewed-by: epeter, chagedorn, jkarthikeyan

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

PR: https://git.openjdk.org/jdk/pull/23438


More information about the hotspot-compiler-dev mailing list