https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- So we get v4si for the vector type but the operand is long long int: 3683 gcc_assert (vector_type 3684 && types_compatible_p (vector_type, 3685 get_vectype_for_scalar_type 3686 (vinfo, TREE_TYPE (op), op_node))); this is because vectorizable_shift is somewhat of a mess. Fixinig.