Re: [PATCH] RISC-V: Finalize VSETVL PASS implementation

2023-01-27 Thread Kito Cheng via Gcc-patches
committed, thanks! On Wed, Jan 18, 2023 at 11:25 AM wrote: > From: Ju-Zhe Zhong > > gcc/ChangeLog: > > * config/riscv/riscv-vsetvl.cc (vsetvl_insn_p): Add condition to > avoid ICE. > (vsetvl_discard_result_insn_p): New function. > (reg_killed_by_bb_p): rename to find_reg

[PATCH] RISC-V: Finalize VSETVL PASS implementation

2023-01-17 Thread juzhe . zhong
From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (vsetvl_insn_p): Add condition to avoid ICE. (vsetvl_discard_result_insn_p): New function. (reg_killed_by_bb_p): rename to find_reg_killed_by. (find_reg_killed_by): New name. (get_vl): allow