Message ID | 20230118030659.68604-1-juzhe.zhong@rivai.ai |
---|---|
State | New |
Headers | show |
Series | RISC-V: Change parse_insn into public for future use. | expand |
On 1/17/23 20:06, juzhe.zhong@rivai.ai wrote: > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai> > > gcc/ChangeLog: > > * config/riscv/riscv-vsetvl.h: Change it into public. OK. jeff
committed, thanks! On Mon, Jan 23, 2023 at 3:32 AM Jeff Law via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > > > On 1/17/23 20:06, juzhe.zhong@rivai.ai wrote: > > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai> > > > > gcc/ChangeLog: > > > > * config/riscv/riscv-vsetvl.h: Change it into public. > OK. > jeff >
diff --git a/gcc/config/riscv/riscv-vsetvl.h b/gcc/config/riscv/riscv-vsetvl.h index f24ad981f65..3b68bf638ae 100644 --- a/gcc/config/riscv/riscv-vsetvl.h +++ b/gcc/config/riscv/riscv-vsetvl.h @@ -260,9 +260,6 @@ private: Since RTL_SSA can not be enabled when optimize == 0, we don't initialize the m_insn. */ void parse_insn (rtx_insn *); - /* This is only called by lazy_vsetvl subroutine when optimize > 0. - We use RTL_SSA framework to initialize the insn_info. */ - void parse_insn (rtl_ssa::insn_info *); friend class vector_infos_manager; @@ -272,6 +269,10 @@ public: m_insn (nullptr) {} + /* This is only called by lazy_vsetvl subroutine when optimize > 0. + We use RTL_SSA framework to initialize the insn_info. */ + void parse_insn (rtl_ssa::insn_info *); + bool operator> (const vector_insn_info &) const; bool operator>= (const vector_insn_info &) const; bool operator== (const vector_insn_info &) const;
From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai> gcc/ChangeLog: * config/riscv/riscv-vsetvl.h: Change it into public. --- gcc/config/riscv/riscv-vsetvl.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)