The following makes the target aware of OMP SIMD calls. Scalar
costing costs calls as scalar_stmt, so make sure to at least do
this level of costing for the vector side.
PR tree-optimization/125174
* tree-vect-stmts.cc (vectorizable_simd_clone_call): Cost
the number of OMP SIMD calls number of vector stmts.
SLP_TREE_TYPE (slp_node) = call_simd_clone_vec_info_type;
slp_node->data = new vect_simd_clone_data (std::move (_data));
DUMP_VECT_SCOPE ("vectorizable_simd_clone_call");
-/* vect_model_simple_cost (vinfo, 1, slp_node, cost_vec); */
+ /* ??? We're confused by calls w/o LHS. */
+ if (SLP_TREE_VECTYPE (slp_node))
+ vect_model_simple_cost (vinfo, ncopies, slp_node, cost_vec);
return true;
}