]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Remove unused structure in cost model
authorPan Li <pan2.li@intel.com>
Tue, 12 Sep 2023 13:01:34 +0000 (21:01 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 12 Sep 2023 13:21:07 +0000 (21:21 +0800)
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>
gcc/config/riscv/riscv-vector-costs.h

index 7f120b79619348964966469f9e63d8db96b74585..7b5814a4cffe79bd300a333f44c3e2cd0c3595d0 100644 (file)
@@ -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
 {