RFR: 8354242: VectorAPI: combine vector not operation with compare [v2]

erifan duke at openjdk.org
Tue Apr 29 01:55:46 UTC 2025


On Mon, 28 Apr 2025 14:12:02 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> I suppose in that case you can assert that you NEVER get those nodes, because if you have vectors not supported, they will not show up because of that, and if you do support vectors, they should be optimized away.

This is expected. 

- If vectors are supported, the test checks that Vector not() is optimized away.

- If vectors are not supported, the vector IRs won't generated, so the IR check will pass. And the correctness verification also runs, this is used to ensure that the patch does not break correctness. In the future if vectors are supported, the test also runs without any modification.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24674#discussion_r2065211944


More information about the hotspot-compiler-dev mailing list