+2019-10-21 Richard Sandiford <richard.sandiford@arm.com>
+
+ * tree-vect-stmts.c (simple_integer_narrowing): Take a vec_info.
+ (vectorizable_call): Update call accordingly.
+
2019-10-21 Richard Sandiford <richard.sandiford@arm.com>
* tree-vectorizer.h (can_duplicate_and_interleave_p): Take a vec_info.
*CONVERT_CODE. */
static bool
-simple_integer_narrowing (tree vectype_out, tree vectype_in,
+simple_integer_narrowing (vec_info *, tree vectype_out, tree vectype_in,
tree_code *convert_code)
{
if (!INTEGRAL_TYPE_P (TREE_TYPE (vectype_out))
if (cfn != CFN_LAST
&& (modifier == NONE
|| (modifier == NARROW
- && simple_integer_narrowing (vectype_out, vectype_in,
+ && simple_integer_narrowing (vinfo, vectype_out, vectype_in,
&convert_code))))
ifn = vectorizable_internal_function (cfn, callee, vectype_out,
vectype_in);