Integrated: 8298345: Fix another two C2 IR matching tests for RISC-V

Gui Cao gcao at openjdk.org
Fri Dec 9 12:48:25 UTC 2022


On Thu, 8 Dec 2022 03:26:38 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Fix two IR matching tests that failed on RISC-V.
> 
> Vector api Node will be matched only when UseRVV is enabled:
> - test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java
> - test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java
> 
> Please take a look and have some reviews. Thanks a lot.
> 
> ## Testing:
> -  fastdebug on unmatched board without support for RVV
> - - test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java - no tests selected as expected
> - - test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java -  no tests selected as expected
> - fastdebug with -XX:+UseRVV on QEMU
> - - test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java - The C2 graph generated by the test is as expected
> - -  test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java  -The C2 graph generated by the test is as expected
> - fastdebug with -XX:-UseRVV on QEMU
> - - test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java - no tests selected as expected
> - -  test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java  - no tests selected as expected

This pull request has now been integrated.

Changeset: 33d955ad
Author:    Gui Cao <gcao at openjdk.org>
Committer: Julian Waters <jwaters at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/33d955ad6e46eecd947e958ce295f6a6c348b2a6
Stats:     5 lines in 3 files changed: 3 ins; 0 del; 2 mod

8298345: Fix another two C2 IR matching tests for RISC-V

Reviewed-by: fyang, dzhang, fjiang

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

PR: https://git.openjdk.org/jdk/pull/11577


More information about the hotspot-compiler-dev mailing list