aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-10-01 20:36:22 +0200
committerGeorg-Johann Lay <avr@gjlay.de>2024-10-01 20:42:09 +0200
commitf72b1a44ff582041b02d5abe0a6c8556057e6183 (patch)
treeef258ee6074615cfd846b59018fdb70b7333538d /gcc
parent5e41e8fd86794319f05eb1d76822021786b81a91 (diff)
downloadgcc-f72b1a44ff582041b02d5abe0a6c8556057e6183.zip
gcc-f72b1a44ff582041b02d5abe0a6c8556057e6183.tar.gz
gcc-f72b1a44ff582041b02d5abe0a6c8556057e6183.tar.bz2
AVR: avr.cc - Drop a superfluous sub-condition in avr_out_compare.
In avr.cc::avr_out_compare() there is this condition: if (n_bytes == 4 && eqne_p && AVR_HAVE_ADIW && REGNO (xreg) >= REG_22 && (xval == const0_rtx || (IN_RANGE (avr_int16 (xval, 2), 0, 63) && eqne_p && reg_unused_after (insn, xreg)))) where the 2nd sub-expression "&& eqne_p" is superfluous. gcc/ * config/avr/avr.cc (avr_out_compare): Drop superfluous sub-condition.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/avr/avr.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.cc b/gcc/config/avr/avr.cc
index c0bf132..92013c3 100644
--- a/gcc/config/avr/avr.cc
+++ b/gcc/config/avr/avr.cc
@@ -6142,7 +6142,6 @@ avr_out_compare (rtx_insn *insn, rtx *xop, int *plen)
&& REGNO (xreg) >= REG_22
&& (xval == const0_rtx
|| (IN_RANGE (avr_int16 (xval, 2), 0, 63)
- && eqne_p
&& reg_unused_after (insn, xreg))))
{
xop[2] = avr_word (xval, 2);