Use scalar_int/float_mode in brig_langhook_type_for_mode
authorRichard Sandiford <richard.sandiford@linaro.org>
Mon, 23 Oct 2017 09:36:12 +0000 (09:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 23 Oct 2017 09:36:12 +0000 (09:36 +0000)
commit4603941edb719f00d15bae20045630905727bcaa
treebfb7676939994aab5c1c674368f4820813cc4dfd
parenta85cf8e99049f4db8b5868b5df5ef201a9a7b2cb
Use scalar_int/float_mode in brig_langhook_type_for_mode

This follows on from similar changes a couple of months ago and
is needed when general modes have variable size.

2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/brig/
* brig-lang.c (brig_langhook_type_for_mode): Use scalar_int_mode
and scalar_float_mode.

From-SVN: r254000
gcc/brig/ChangeLog
gcc/brig/brig-lang.c