On Wed, Sep 16, 2026 at 11:29:40AM +0200, Richard Biener wrote:
> Like this? Tested to fail without the patch and pass with it.
LGTM with a nit (and assuming we try to handle at least some of this
in tree-vect-patterns.cc eventually).
> --- a/gcc/tree-vect-stmts.cc
> +++ b/gcc/tree-vect-stmts.cc
> @@ -5413,6 +5413,17 @@ vectorizable_conversion (vec_info *vinfo,
> "type conversion to bit-precision unsupported\n");
> return false;
> }
There should be empty line here.
> + /* _BitInt values are not sign-/zero-extended to mode precision. */
> + if (!VECTOR_BOOLEAN_TYPE_P (vectype_out)
> + && TREE_CODE (rhs_type) == BITINT_TYPE
> + && !type_has_mode_precision_p (rhs_type))
> + {
> + if (dump_enabled_p ())
> + dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
> + "type conversion from _BitInt unsupported\n");
> + return false;
> + }
> +
Rather than one superfluous empty line here.
> if (op_type == binary_op)
> {
> --
> 2.51.0
Jakub