Re: [PATCH] RISCV: Add vector psabi checking.

2023-04-26 Thread Kito Cheng via Gcc-patches
> gcc/ChangeLog: > > * config/riscv/riscv.cc (riscv_scalable_vector_type_p): > (riscv_arg_has_vector): > (riscv_pass_in_vector_p): > (riscv_get_arg_info): You need to write something for changelog...:P

[PATCH] RISCV: Add vector psabi checking.

2023-04-26 Thread yanzhang.wang--- via Gcc-patches
From: Yanzhang Wang This patch adds support to check function's argument or return is vector type and throw warning if yes. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_scalable_vector_type_p): (riscv_arg_has_vector): (riscv_pass_in_vector_p): (riscv_get_arg_inf