public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2878] RISC-V: Drop unused variable
@ 2023-07-31 13:44 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-07-31 13:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5a770748e8eea38a4ed1f3c4dd8d807aa1640536

commit r14-2878-g5a770748e8eea38a4ed1f3c4dd8d807aa1640536
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Mon Jul 31 21:43:16 2023 +0800

    RISC-V: Drop unused variable
    
    gcc/ChangeLog:
    
            * config/riscv/riscv-v.cc (expand_vec_series): Drop unused
            variable.
            (expand_vector_init_insert_elems): Ditto.

Diff:
---
 gcc/config/riscv/riscv-v.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/config/riscv/riscv-v.cc b/gcc/config/riscv/riscv-v.cc
index 5ab749f4343..278452b9e05 100644
--- a/gcc/config/riscv/riscv-v.cc
+++ b/gcc/config/riscv/riscv-v.cc
@@ -1248,7 +1248,6 @@ void
 expand_vec_series (rtx dest, rtx base, rtx step)
 {
   machine_mode mode = GET_MODE (dest);
-  machine_mode mask_mode = get_mask_mode (mode);
   poly_int64 nunits_m1 = GET_MODE_NUNITS (mode) - 1;
   poly_int64 value;
 
@@ -2317,7 +2316,6 @@ expand_vector_init_insert_elems (rtx target, const rvv_builder &builder,
 				 int nelts_reqd)
 {
   machine_mode mode = GET_MODE (target);
-  machine_mode mask_mode = get_mask_mode (mode);
   rtx dup = expand_vector_broadcast (mode, builder.elt (0));
   emit_move_insn (target, dup);
   int ndups = builder.count_dups (0, nelts_reqd - 1, 1);

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

only message in thread, other threads:[~2023-07-31 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-31 13:44 [gcc r14-2878] RISC-V: Drop unused variable 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).