public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Stubbs <ams@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-2962] amdgcn: remove unused variable
Date: Thu, 29 Sep 2022 16:28:08 +0000 (GMT)	[thread overview]
Message-ID: <20220929162808.8804D3858D39@sourceware.org> (raw)

https://gcc.gnu.org/g:af9034827e8f06f10767064e9fc7443b94e08184

commit r13-2962-gaf9034827e8f06f10767064e9fc7443b94e08184
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Mon Sep 26 17:33:38 2022 +0100

    amdgcn: remove unused variable
    
    This was left over from a previous version of the SIMD clone patch.
    
    gcc/ChangeLog:
    
            * config/gcn/gcn.cc (gcn_simd_clone_compute_vecsize_and_simdlen):
            Remove unused elt_bits variable.

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

diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index eb822e20dd1..c27ee91210e 100644
--- a/gcc/config/gcn/gcn.cc
+++ b/gcc/config/gcn/gcn.cc
@@ -4674,8 +4674,6 @@ gcn_simd_clone_compute_vecsize_and_simdlen (struct cgraph_node *ARG_UNUSED (node
 					    tree base_type,
 					    int ARG_UNUSED (num))
 {
-  unsigned int elt_bits = GET_MODE_BITSIZE (SCALAR_TYPE_MODE (base_type));
-
   if (known_eq (clonei->simdlen, 0U))
     clonei->simdlen = 64;
   else if (maybe_ne (clonei->simdlen, 64U))

                 reply	other threads:[~2022-09-29 16:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220929162808.8804D3858D39@sourceware.org \
    --to=ams@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).