aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2022-11-03 09:55:41 +0000
committerAndrew Stubbs <ams@codesourcery.com>2022-11-03 10:02:18 +0000
commitf95e4eced20666a981881f76d66d997922648687 (patch)
treec595a5ba81c35db17164a633d0d2c3ce299a7e96 /gcc
parent20d5dca80b82df9b1295359edb44eb08c45c4334 (diff)
downloadgcc-f95e4eced20666a981881f76d66d997922648687.zip
gcc-f95e4eced20666a981881f76d66d997922648687.tar.gz
gcc-f95e4eced20666a981881f76d66d997922648687.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/gcn/gcn.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index b9d9170f..1996115 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