Use scalar_int/float_mode in brig_langhook_type_for_mode
commit28018118a944fc4d9dbc9c98c168839e12a002e8
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 09:36:12 +0000 (23 09:36 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 09:36:12 +0000 (23 09:36 +0000)
treebfb7676939994aab5c1c674368f4820813cc4dfd
parent6ce33017aab7d05162fd2bd22918325934cc35a3
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.

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