On 07/13/2017 03:04 AM, Richard Sandiford wrote: > This patch uses scalar_mode in a few miscellaneous places: > > - Previous patches mean mode_to_vector can take a scalar_mode without > further changes. > > - Implicit promotion is limited to scalar types (affects promote_mode > and sdbout_parms) > > 2017-07-13 Richard Sandiford <[email protected]> > Alan Hayward <[email protected]> > David Sherwood <[email protected]> > > gcc/ > * machmode.h (mode_for_vector): Take a scalar_mode instead > of a machine_mode. > * stor-layout.c (mode_for_vector): Likewise. > * explow.c (promote_mode): Use as_a <scalar_mode>. > * sdbout.c (sdbout_parms): Use is_a <scalar_mode>. OK. jeff
