Avoid expand_vec_cond_expr_p with comparison code
This removes the obsolete API use by vector divmod lowering. * tree-vect-generic.cc (expand_vector_divmod): Query vector comparison and vec_cond_mask capability.
This commit is contained in:
parent
86708a88fb
commit
9ede072ffa
1 changed files with 3 additions and 1 deletions
|
@ -765,8 +765,10 @@ expand_vector_divmod (gimple_stmt_iterator *gsi, tree type, tree op0,
|
|||
type, cur_op);
|
||||
}
|
||||
}
|
||||
tree mask_type = truth_type_for (type);
|
||||
if (addend == NULL_TREE
|
||||
&& expand_vec_cond_expr_p (type, type, LT_EXPR))
|
||||
&& expand_vec_cmp_expr_p (type, mask_type, LT_EXPR)
|
||||
&& expand_vec_cond_expr_p (type, mask_type))
|
||||
{
|
||||
tree zero, cst, mask_type, mask;
|
||||
gimple *stmt, *cond;
|
||||
|
|
Loading…
Add table
Reference in a new issue