[24/77] Replace a != BLKmode check with is_a <scalar_int_mode>
authorRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 30 Aug 2017 11:11:23 +0000 (11:11 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 30 Aug 2017 11:11:23 +0000 (11:11 +0000)
commit64ab8765d7e45ed19d4a571b2aaba0abf7f834c3
treeb05715fb0b8144f639b5f3e330714a2b5031ac3d
parent673bf5a6b65e51d177d2cf9fc4002171b1f467ab
[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.

From-SVN: r251476
gcc/gimple-fold.c