From: Ju-Zhe Zhong Date: Wed, 18 Jan 2023 03:06:59 +0000 (+0800) Subject: RISC-V: Change parse_insn into public for future use. X-Git-Tag: basepoints/gcc-14~1777 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89483d952aca74c2e053ab9bee18f3d25695e2c9;p=thirdparty%2Fgcc.git RISC-V: Change parse_insn into public for future use. gcc/ChangeLog: * config/riscv/riscv-vsetvl.h: Change it into public. --- diff --git a/gcc/config/riscv/riscv-vsetvl.h b/gcc/config/riscv/riscv-vsetvl.h index fbde7bd58e5f..7cbcbd51594b 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;