public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5430] RISC-V: Change parse_insn into public for future use.
@ 2023-01-27  9:41 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-01-27  9:41 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:89483d952aca74c2e053ab9bee18f3d25695e2c9

commit r13-5430-g89483d952aca74c2e053ab9bee18f3d25695e2c9
Author: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Date:   Wed Jan 18 11:06:59 2023 +0800

    RISC-V: Change parse_insn into public for future use.
    
    gcc/ChangeLog:
    
            * config/riscv/riscv-vsetvl.h: Change it into public.

Diff:
---
 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 fbde7bd58e5..7cbcbd51594 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27  9:41 [gcc r13-5430] RISC-V: Change parse_insn into public for future use Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).