Re: [PATCH] RISC-V: Simplify codes of changing vsetvl instruction

2023-01-26 Thread Kito Cheng via Gcc-patches
committed, thanks. On Tue, Jan 3, 2023 at 3:25 PM wrote: > From: Ju-Zhe Zhong > > This patch is NFC patch. I move these code as a function since we will > reuse it in the following patch (Refine phase 3 of VSETVL PASS) > > gcc/ChangeLog: > > * config/riscv/riscv-vsetvl.cc (change_vsetvl

[PATCH] RISC-V: Simplify codes of changing vsetvl instruction

2023-01-02 Thread juzhe . zhong
From: Ju-Zhe Zhong This patch is NFC patch. I move these code as a function since we will reuse it in the following patch (Refine phase 3 of VSETVL PASS) gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (change_vsetvl_insn): New function. (pass_vsetvl::compute_global_backward_infos