[69/77] Split scalar-only part out of convert_mode
commitcbfe51d0ef95abe7a35ac0c3a2820d8997e40317
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:20:03 +0000 (30 11:20 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:20:03 +0000 (30 11:20 +0000)
treebf50b86e46d95330990a5a016fd6716c3897982d
parent762500c29fcb1437fac54e193405918f017b226b
[69/77] Split scalar-only part out of convert_mode

This patch splits the final scalar-only part of convert_mode out
into its own subroutine and treats the modes as scalar_modes there.

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

gcc/
* expr.c (convert_mode): Split scalar handling out into...
(convert_mode_scalar): ...this new function.  Treat the modes
as scalar_modes.

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