Re: [PATCH v2 4/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-27 Thread Jeff Law
On 8/26/24 6:36 PM, Patrick O'Neill wrote: These cases are handled in the expander (riscv-v.cc:expand_const_vector). We need the vector builder to detect these cases so extract that out into a new riscv-v.h header file. gcc/ChangeLog: * config/riscv/riscv-v.cc (class rvv_builder): Mo

[PATCH v2 4/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-26 Thread Patrick O'Neill
These cases are handled in the expander (riscv-v.cc:expand_const_vector). We need the vector builder to detect these cases so extract that out into a new riscv-v.h header file. gcc/ChangeLog: * config/riscv/riscv-v.cc (class rvv_builder): Move to riscv-v.h. * config/riscv/riscv.cc