Re: Add build_truth_vector_type_for_mode

2019-10-25 Thread Richard Biener
On Wed, Oct 23, 2019 at 1:10 PM Richard Sandiford wrote: > > Callers of vect_halve_mask_nunits and vect_double_mask_nunits > already know what mode the resulting vector type should have, > so we might as well create the vector type directly with that mode, > just like build_vector_type_for_mode

Add build_truth_vector_type_for_mode

2019-10-23 Thread Richard Sandiford
Callers of vect_halve_mask_nunits and vect_double_mask_nunits already know what mode the resulting vector type should have, so we might as well create the vector type directly with that mode, just like build_vector_type_for_mode lets us build normal vectors with a known mode. This avoids the