Re: [PATCH 9/9] RISC-V: Add vslide1up/down pattern to expand_const_vector

2024-08-22 Thread 钟居哲
st model which only care about program SSA-based register pressure. Definitely, we should care more things in dynamic LMUL cost model. juzhe.zh...@rivai.ai From: Patrick O'Neill Date: 2024-08-23 03:46 To: gcc-patches CC: rdapp.gcc; juzhe.zhong; kito.cheng; jeffreyalaw; gnu-toolchain; Patrick O

[PATCH 9/9] RISC-V: Add vslide1up/down pattern to expand_const_vector

2024-08-22 Thread Patrick O'Neill
Also explicitly disallow CONST_VECTOR_DUPLICATE_P for now. CONST_VECTOR_DUPLICATE_P was previously disallowed implicitly. gcc/ChangeLog: * config/riscv/riscv-v.cc (expand_vec_series): Update comment. (expand_vector_init_insert_elems): Ditto. (expand_const_vector): Add catc