public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2962] amdgcn: remove unused variable
@ 2022-09-29 16:28 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2022-09-29 16:28 UTC (permalink / raw)
  To: gcc-cvs

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

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

only message in thread, other threads:[~2022-09-29 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29 16:28 [gcc r13-2962] amdgcn: remove unused variable Andrew Stubbs

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