Integrated: 8332827: [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs

Roland Westrelin roland at openjdk.org
Thu Dec 19 16:12:02 UTC 2024


On Thu, 5 Dec 2024 09:33:43 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> The failures that caused the backout were due to a bug in:
> 
> `find_or_make_integer_cast()`
> 
> which caused the `_range_check_dependency` field's value of the
> existing cast node to not be set in the new cast node. I re-ran some
> testing with this fixed and current jdk repo and found that a few
> vectorization tests fail now because the patch pushes range check
> `CastII` nodes through `AddI`/`SubI`. To fix this, I delayed that
> transformation to after loop opts.

This pull request has now been integrated.

Changeset: 2649a973
Author:    Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2649a97332b4af4f6eebc0c83af77e1c77760644
Stats:     736 lines in 8 files changed: 706 ins; 23 del; 7 mod

8332827: [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs

Reviewed-by: epeter, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list