The following adds another missing check on VEC_COND_EXPR
expandability. Without a testcase.
* match.pd ((convert (vec_cond ...))): Make sure the
resulting vec_cond can be expanded.
(simplify
(convert (vec_cond:s @0 @1 @2))
(if (VECTOR_TYPE_P (type)
- && types_match (TREE_TYPE (@0), truth_type_for (type)))
+ && types_match (TREE_TYPE (@0), truth_type_for (type))
+ && (expand_vec_cond_expr_p (type, TREE_TYPE (@0))
+ || !expand_vec_cond_expr_p (TREE_TYPE (@1), TREE_TYPE (@0))))
(vec_cond @0 (convert! @1) (convert! @2))))
/* Likewise for view_convert of nop_conversions. */