[24/77] Replace a != BLKmode check with is_a <scalar_int_mode>
commitb19d5ff813f53da88abe7f07e02bcb60bdee9bb2
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:23 +0000 (30 11:11 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:11:23 +0000 (30 11:11 +0000)
treeb05715fb0b8144f639b5f3e330714a2b5031ac3d
parent1aa8738f7ec89f1c1166adb97fc6eaf51d0c295e
[24/77] Replace a != BLKmode check with is_a <scalar_int_mode>

This patch replaces a check against BLKmode with a check
of is_a <scalar_int_mode>, in a case where scalar integer
modes were the only useful alternatives left.

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

* gimple-fold.c (gimple_fold_builtin_memory_op): Use
is_a <scalar_int_mode> instead of != BLKmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251476 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/gimple-fold.c