mbox series

[0/9] Make more use of opt_mode

Message ID 87tw0iiu51.fsf@linaro.org
Headers show
Series Make more use of opt_mode | expand

Message

Richard Sandiford Sept. 4, 2017, 11:24 a.m. UTC
The 77-patch machine-mode series originally targetted only the places
that needed to change for variable-sized modes, but as Richard B.
said on IRC, it meant that the interfaces of mode_for_size vs.
int_mode_for_size were inconsistent: the former still returns BLKmode
on failure, while the latter returns an opt_mode.

This series of patches tries to make the machine_mode functions
consistent.  Tested on aarch64-linux-gmu, x86_64-linux-gnu,
powerpc64le-linux-gnu, and by checking that there were no extra
warnings or changes in testsuite output for one target per CPU.

Richard