public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3880] RISC-V: Remove unused structure in cost model
@ 2023-09-12 13:21 Pan Li
  0 siblings, 0 replies; only message in thread
From: Pan Li @ 2023-09-12 13:21 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:75f069a6403b5d4217fb5b654a9c656b4dca9dc1

commit r14-3880-g75f069a6403b5d4217fb5b654a9c656b4dca9dc1
Author: Pan Li <pan2.li@intel.com>
Date:   Tue Sep 12 21:01:34 2023 +0800

    RISC-V: Remove unused structure in cost model
    
    The struct range is unused, remove it.
    
    gcc/ChangeLog:
    
            * config/riscv/riscv-vector-costs.h (struct range): Removed.
    
    Signed-off-by: Pan Li <pan2.li@intel.com>

Diff:
---
 gcc/config/riscv/riscv-vector-costs.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gcc/config/riscv/riscv-vector-costs.h b/gcc/config/riscv/riscv-vector-costs.h
index 7f120b796193..7b5814a4cffe 100644
--- a/gcc/config/riscv/riscv-vector-costs.h
+++ b/gcc/config/riscv/riscv-vector-costs.h
@@ -40,13 +40,6 @@ struct autovec_info
   bool end_p;
 };
 
-struct range
-{
-  unsigned int pt;
-  bool start;
-  unsigned int nregs;
-};
-
 /* rvv-specific vector costs.  */
 class costs : public vector_costs
 {

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

only message in thread, other threads:[~2023-09-12 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12 13:21 [gcc r14-3880] RISC-V: Remove unused structure in cost model Pan Li

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).