>> Do we need the additional helper function? Yes. We need the additional helper function since I will cal emit_insn (gen_vec_extract (mode, mode) in the following patch which fixes PR111391 ICE.
juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-09-13 20:31 To: Juzhe-Zhong; gcc-patches CC: rdapp.gcc; kito.cheng; kito.cheng; jeffreyalaw Subject: Re: [PATCH] RISC-V: Support VLS modes VEC_EXTRACT auto-vectorization > -(define_expand "vec_extract<mode><vel>" > +(define_expand "@vec_extract<mode><vel>" Do we need the additional helper function? If not let's rather not add them for build-time reasons. The rest is OK, no need for v2. Regards Robin