RE: [PATCH v2] GCSE: Export 'insert_insn_end_basic_block' as global function

2023-07-10 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff and Richard. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Monday, July 10, 2023 10:08 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: rguent...@suse.de Subject: Re: [PATCH v2] GCSE: Export

Re: [PATCH v2] GCSE: Export 'insert_insn_end_basic_block' as global function

2023-07-10 Thread Jeff Law via Gcc-patches
On 7/10/23 02:12, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong Since VSETVL PASS in RISC-V port is using common part of 'insert_insn_end_basic_block (struct gcse_expr *expr, basic_block bb)' and we will also this helper function in riscv.cc for the following patches. So extract the commo

[PATCH v2] GCSE: Export 'insert_insn_end_basic_block' as global function

2023-07-10 Thread juzhe . zhong
From: Ju-Zhe Zhong Since VSETVL PASS in RISC-V port is using common part of 'insert_insn_end_basic_block (struct gcse_expr *expr, basic_block bb)' and we will also this helper function in riscv.cc for the following patches. So extract the common part codes of 'insert_insn_end_basic_block (struc