Re: [39/77] Two changes to the get_best_mode interface

2017-08-16 Thread Jeff Law
On 07/13/2017 02:52 AM, Richard Sandiford wrote: > get_best_mode always returns a scalar_int_mode on success, > so this patch makes that explicit in the type system. Also, > the "largest_mode" argument is used simply to provide a maximum > size, and in practice that size is always a compile-time c

[39/77] Two changes to the get_best_mode interface

2017-07-13 Thread Richard Sandiford
get_best_mode always returns a scalar_int_mode on success, so this patch makes that explicit in the type system. Also, the "largest_mode" argument is used simply to provide a maximum size, and in practice that size is always a compile-time constant, even when the concept of variable-sized modes is