Re: [PATCH] RISC-V: Call DCE to remove redundant instructions created by the PASS

2023-01-16 Thread Kito Cheng via Gcc-patches
After discussing with Ju.Zhe, we decided to rearrange the pass of vsetvl insertion instead of call run_fast_dce within this pass. On Tue, Jan 10, 2023 at 7:21 AM wrote: > From: Ju-Zhe Zhong > > gcc/ChangeLog: > > * config/riscv/riscv-vsetvl.cc (pass_vsetvl::done): Add DCE. > * c

[PATCH] RISC-V: Call DCE to remove redundant instructions created by the PASS

2023-01-09 Thread juzhe . zhong
From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (pass_vsetvl::done): Add DCE. * config/riscv/t-riscv: Add DCE. --- gcc/config/riscv/riscv-vsetvl.cc | 2 ++ gcc/config/riscv/t-riscv | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gc