On Tue, 15 Oct 2024 10:19:46 GMT, Emanuel Peter <epe...@openjdk.org> wrote:

> Are there any IR rules that verify that the correct C2 nodes are used? Is 
> that a thing you generally do with the VectorAPI, just to make sure things 
> get correctly intrinsified?

Not systematically. We have some IR testing for more complex areas, located 
under `test/hotspot/jtreg/compiler/vectorapi/`. When we started out testing 
there was no IR testing framework so we relied on classic unit tests running a 
test N times for C2 to kick in. That is still the case for the majority of 
tests. It would be nice to have a better balance, and a way to systematically 
generate IR tests for the various vector operations.

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

PR Comment: https://git.openjdk.org/jdk/pull/20507#issuecomment-2415212261

Reply via email to