Re: [PATCH] RISC-V: Remove redundant vec_duplicate pattern

2023-09-18 Thread Lehua Ding
Committed, thanks Robin. On 2023/9/18 20:52, Robin Dapp via Gcc-patches wrote: LGTM. Regards Robin -- Best, Lehua

Re: [PATCH] RISC-V: Remove redundant vec_duplicate pattern

2023-09-18 Thread Robin Dapp via Gcc-patches
LGTM. Regards Robin

[PATCH] RISC-V: Remove redundant vec_duplicate pattern

2023-09-18 Thread Juzhe-Zhong
Currently, VLS and VLA patterns are different. VLA is define_expand VLS is define_insn_and_split It makes no sense that they are different pattern format. Merge them into same pattern (define_insn_and_split). It can also be helpful for the future vv -> vx fwprop optimization. gcc/ChangeLog: