[27/77] Use is_a <scalar_int_mode> before LOAD_EXTEND_OP
commit4a36ac446afeedfe0afeac1c5eca12c98160f5bb
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:50 +0000 (30 11:11 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:50 +0000 (30 11:11 +0000)
treec7baab125a4bc8be7aa0212769be0246a31d4102
parent4c53345c9729e2d4268c8b3461a1dc524926b368
[27/77] Use is_a <scalar_int_mode> before LOAD_EXTEND_OP

This patch adds is_a <scalar_int_mode> checks before load_extend_op/
LOAD_EXTEND_OP calls, if that becomes useful for later patches.
(load_extend_op will return UNKNOWN for any other type of mode.)

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* cse.c (cse_insn): Add is_a <scalar_int_mode> checks.
* reload.c (push_reload): Likewise.
(find_reloads): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cse.c
gcc/reload.c