RFR: 8301093: C2 fails assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
Vladimir Kozlov
kvn at openjdk.org
Tue Jan 31 17:52:57 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.
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12342
More information about the hotspot-compiler-dev
mailing list