diff options
author | Ju-Zhe Zhong <juzhe.zhong@rivai.ai> | 2023-01-18 11:06:59 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-01-27 17:39:53 +0800 |
commit | 89483d952aca74c2e053ab9bee18f3d25695e2c9 (patch) | |
tree | a182d52f7361c10a03653bf60c49a20fb5dd8ef1 | |
parent | 5aa486e7740a0bc83168d806806d1149e6e90310 (diff) | |
download | gcc-89483d952aca74c2e053ab9bee18f3d25695e2c9.zip gcc-89483d952aca74c2e053ab9bee18f3d25695e2c9.tar.gz gcc-89483d952aca74c2e053ab9bee18f3d25695e2c9.tar.bz2 |
RISC-V: Change parse_insn into public for future use.
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.h: Change it into public.
-rw-r--r-- | gcc/config/riscv/riscv-vsetvl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/riscv/riscv-vsetvl.h b/gcc/config/riscv/riscv-vsetvl.h index fbde7bd..7cbcbd5 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; |