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

Jie Fu jiefu at openjdk.java.net
Thu Mar 4 05:32:02 UTC 2021


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

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

Commit messages:
 - 8262998: Vector API intrinsincs should not modify IR when bailing out

Changes: https://git.openjdk.java.net/jdk/pull/2823/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2823&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262998
  Stats: 93 lines in 2 files changed: 92 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2823.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2823/head:pull/2823

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


More information about the hotspot-compiler-dev mailing list