[68/77] Use scalar_mode for is_int_mode/is_float_mode pairs
commit762500c29fcb1437fac54e193405918f017b226b
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:19:54 +0000 (30 11:19 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:19:54 +0000 (30 11:19 +0000)
tree15a160b63509849b48c344d86076730d54907975
parent69095bb2cde82ebaf27b4945faec5adbbb03b49e
[68/77] Use scalar_mode for is_int_mode/is_float_mode pairs

This patch uses scalar_mode for code that operates only on MODE_INT
and MODE_FLOAT.

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

gcc/
* omp-expand.c (expand_omp_atomic): Use is_int_mode, is_float_mode
and scalar_mode.
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251519 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-expand.c
gcc/tree-vect-stmts.c