Integrated: 8297238: RISC-V: C2: Use Matcher::vector_element_basic_type when checking for vector element type in predicate
Gui Cao
gcao at openjdk.org
Mon Nov 21 10:05:57 UTC 2022
On Fri, 18 Nov 2022 13:12:54 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Hi,
>
> In the vector type predicate matching process of riscv, n->bottom_type()->is_vect()->element_basic_type() is used in some places to get the data type, and Matcher::vector_element_basic_type(n) is used in some places to get the data type, In fact, Matcher::vector_element_basic_type(n) is the function encapsulation form of n->bottom_type()->is_vect()->element_basic_type(), here Matcher::vector_element_basic_type(n) is used uniformly to get the data type.
>
> Please take a look and have some reviews. Thanks a lot.
>
> ## Testing:
> - hotspot and jdk tier1 without new failures (release with UseRVV on QEMU)
> - test/jdk/jdk/incubator/vector/* (fastdebug/release with UseRVV on QEMU)
This pull request has now been integrated.
Changeset: e4206618
Author: Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e4206618ac82222f8f61e348cfa68db0d708fe90
Stats: 18 lines in 1 file changed: 0 ins; 0 del; 18 mod
8297238: RISC-V: C2: Use Matcher::vector_element_basic_type when checking for vector element type in predicate
Reviewed-by: dzhang, fyang
-------------
PR: https://git.openjdk.org/jdk/pull/11239
More information about the hotspot-compiler-dev
mailing list