public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3622] amdgcn: Fix duplicate conditionals [PR107510]
@ 2022-11-03 10:21 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2022-11-03 10:21 UTC (permalink / raw)
  To: gcc-cvs

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

commit r13-3622-gf95e4eced20666a981881f76d66d997922648687
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Thu Nov 3 09:55:41 2022 +0000

    amdgcn: Fix duplicate conditionals [PR107510]
    
    Just a harmless cut-and-paste issue.
    
            PR target/107510
    
    gcc/ChangeLog:
    
            * config/gcn/gcn.cc (gcn_expand_reduc_scalar): Remove duplicate
            UNSPEC_SMIN_DPP_SHR conditionals.

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 b9d9170f167..1996115a686 100644
--- a/gcc/config/gcn/gcn.cc
+++ b/gcc/config/gcn/gcn.cc
@@ -4927,7 +4927,6 @@ gcn_expand_reduc_scalar (machine_mode mode, rtx src, int unspec)
   machine_mode scalar_mode = GET_MODE_INNER (mode);
   int vf = GET_MODE_NUNITS (mode);
   bool use_moves = (((unspec == UNSPEC_SMIN_DPP_SHR
-		      || unspec == UNSPEC_SMIN_DPP_SHR
 		      || unspec == UNSPEC_SMAX_DPP_SHR
 		      || unspec == UNSPEC_UMIN_DPP_SHR
 		      || unspec == UNSPEC_UMAX_DPP_SHR)
@@ -4936,7 +4935,6 @@ gcn_expand_reduc_scalar (machine_mode mode, rtx src, int unspec)
 		    || (unspec == UNSPEC_PLUS_DPP_SHR
 			&& scalar_mode == DFmode));
   rtx_code code = (unspec == UNSPEC_SMIN_DPP_SHR ? SMIN
-		   : unspec == UNSPEC_SMIN_DPP_SHR ? SMIN
 		   : unspec == UNSPEC_SMAX_DPP_SHR ? SMAX
 		   : unspec == UNSPEC_UMIN_DPP_SHR ? UMIN
 		   : unspec == UNSPEC_UMAX_DPP_SHR ? UMAX

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

only message in thread, other threads:[~2022-11-03 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 10:21 [gcc r13-3622] amdgcn: Fix duplicate conditionals [PR107510] 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).