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