RFR: 8262998: Vector API intrinsincs should not modify IR when bailing out

Tobias Hartmann thartmann at openjdk.java.net
Thu Mar 4 07:53:38 UTC 2021


On Thu, 4 Mar 2021 05:26:42 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> While I was learning [1], I found similar bugs in Vector API.
> The reason is the same that make_unsafe_address [2][3] may modify IR when bailing out.
> Let's fix it.
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] https://github.com/openjdk/jdk/pull/2775/
> [2] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/vectorIntrinsics.cpp#L782
> [3] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/vectorIntrinsics.cpp#L612

Good catch. Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2823


More information about the hotspot-compiler-dev mailing list