sh: Fixes for RTL checking
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 24 Feb 2017 22:42:49 +0000 (23:42 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 24 Feb 2017 22:42:49 +0000 (23:42 +0100)
commit91f66e78cc141da77ff9e0e3c8519e1af3f26c07
treeebf775ff7f9b69d1c96846f97fb645197aa7afea
parent8faa81184f856447084a9ee41a63fc4be6bca572
sh: Fixes for RTL checking

* config/sh/sh.md (tstsi_t): If operands[0] is a SUBREG instead of
a REG, look at the REG it is a SUBREG of.
(splitter for cmpeqsi_t): Ditto.

From-SVN: r245727
gcc/ChangeLog
gcc/config/sh/sh.md