https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116074
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- opt_machine_mode related_int_vector_mode (machine_mode vector_mode) { gcc_assert (VECTOR_MODE_P (vector_mode)); So it is not passing a vector type here ...