Committed, thanks Jeff. Pan
-----Original Message----- From: Gcc-patches <gcc-patches-bounces+pan2.li=intel....@gcc.gnu.org> On Behalf Of Jeff Law via Gcc-patches Sent: Sunday, June 4, 2023 11:40 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp....@gmail.com Subject: Re: [NFC] RISC-V: Reorganize riscv-v.cc On 6/4/23 03:11, juzhe.zh...@rivai.ai wrote: > From: Juzhe-Zhong <juzhe.zh...@rivai.ai> > > This patch is just reorganizing the functions for the following patch. > > I put rvv_builder and emit_* functions located before > expand_const_vector function since I will use them in expand_const_vector in > the following patch. > > gcc/ChangeLog: > > * config/riscv/riscv-v.cc (class rvv_builder): Reorganize functions. > (rvv_builder::can_duplicate_repeating_sequence_p): Ditto. > (rvv_builder::repeating_sequence_use_merge_profitable_p): Ditto. > (rvv_builder::get_merged_repeating_sequence): Ditto. > (rvv_builder::get_merge_scalar_mask): Ditto. > (emit_scalar_move_insn): Ditto. > (emit_vlmax_integer_move_insn): Ditto. > (emit_nonvlmax_integer_move_insn): Ditto. > (emit_vlmax_gather_insn): Ditto. > (emit_vlmax_masked_gather_mu_insn): Ditto. > (get_repeating_sequence_dup_machine_mode): Ditto. OK jeff