RFR: 8301093: C2 fails assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
Claes Redestad
redestad at openjdk.org
Wed Feb 1 10:59:01 UTC 2023
On Tue, 31 Jan 2023 12:41:04 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> `must_be_not_null` can transform the graph, which will cause assert if intrinsification of `vectorizedHashCode` bails out after input validation. Solution is to move `must_be_not_null` to after the input validation.
>
> Added regression test that invokes `ArraysSupport.vectorizedHashCode` with a non-constant type to trigger bailout.
Thanks for reviewing
-------------
PR: https://git.openjdk.org/jdk/pull/12342
More information about the hotspot-compiler-dev
mailing list