[22/77] Replace !VECTOR_MODE_P with is_a <scalar_int_mode>
commit306f8ff589a9d0fb4eac68d90001f8d36f8fd542
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:09 +0000 (30 11:11 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:09 +0000 (30 11:11 +0000)
tree8256b3298d2ebf7cfbd2d266df5c50ba59a69e24
parent8974b7a3058bd844562eea429c3bb9e689f47505
[22/77] Replace !VECTOR_MODE_P with is_a <scalar_int_mode>

This patch replaces some checks of !VECTOR_MODE_P with checks
of is_a <scalar_int_mode>, in cases where the scalar integer
modes were the only useful alternatives left.

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

gcc/
* simplify-rtx.c (simplify_binary_operation_1): Use
is_a <scalar_int_mode> instead of !VECTOR_MODE_P.

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