From: Ju-Zhe Zhong <juzhe.zh...@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(-) 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; -- 2.36.3