RFR: 8305055: IR check fails on some aarch64 platforms

Fei Gao fgao at openjdk.org
Thu Mar 30 08:44:08 UTC 2023


On Thu, 30 Mar 2023 06:48:31 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> As @eme64 said in [1], [JDK-8298935](https://bugs.openjdk.org/browse/JDK-8298935) introduced some "collateral damage", disabling the vectorization of some conversions when `+AlignVector`. That affects IR checks of `TestVectorizeTypeConversion.java` and `ArrayTypeConvertTest.java` on some `aarch64` platforms like ThunderX and ThunderX2 [2].
>> 
>> This trivial patch is to allow IR check only when we have `-AlignVector`.
>> 
>> [1] https://github.com/openjdk/jdk/pull/12350#issuecomment-1470065706
>> [2] https://github.com/openjdk/jdk/blob/7239150f8aff0e3dc07c5b27f6b7fb07237bfc55/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#L154
>
> @fg1417 Maybe rather than mentioning [JDK-8298935](https://bugs.openjdk.org/browse/JDK-8298935) in the test, you could mention that we can remove it after [JDK-8303827](https://bugs.openjdk.org/browse/JDK-8303827).

Thanks for your kind review and suggestion, @eme64 @TobiHartmann . Updated the comments in the new commit.

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

PR Comment: https://git.openjdk.org/jdk/pull/13236#issuecomment-1489918184


More information about the hotspot-compiler-dev mailing list