Revert g-465c7c89e92a6d6d582173e505cb16dcb9873034
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Jan 2020 18:56:35 +0000 (18:56 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Jan 2020 19:15:29 +0000 (19:15 +0000)
commit2812a28418b72b24979805cfca1f140dda4963b7
treeecd2ef276cc6df3aea9c07a840de551224946d9b
parente3b60da8e07030b1417067295f047b25015f21f2
Revert g-465c7c89e92a6d6d582173e505cb16dcb9873034

The patch caused regressions in gcc.target/sh/pr64345-1.c on
sh3-linux-gnu and gcc.target/m68k/pr39726.c on m68k-linux-gnu.
It didn't look like they would be fixable in an acceptably
non-invasive and unhacky way, so punting till future releases.

2020-01-29  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
Revert:

2020-01-28  Richard Sandiford  <richard.sandiford@arm.com>

PR rtl-optimization/87763
* simplify-rtx.c (simplify_truncation): Extend sign/zero_extract
simplification to handle subregs as well as bare regs.
* config/i386/i386.md (*testqi_ext_3): Match QI extracts too.
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/simplify-rtx.c