+2019-10-21 Richard Sandiford <richard.sandiford@arm.com>
+
+ * tree-vect-loop-manip.c (vect_maybe_permute_loop_masks): Take
+ a loop_vec_info.
+ (vect_set_loop_condition_masked): Update call accordingly.
+
2019-10-21 Richard Sandiford <richard.sandiford@arm.com>
* tree-vectorizer.h (supportable_narrowing_operation): Take a vec_info.
latter. Return true on success, adding any new statements to SEQ. */
static bool
-vect_maybe_permute_loop_masks (gimple_seq *seq, rgroup_masks *dest_rgm,
+vect_maybe_permute_loop_masks (loop_vec_info, gimple_seq *seq,
+ rgroup_masks *dest_rgm,
rgroup_masks *src_rgm)
{
tree src_masktype = src_rgm->mask_type;
{
rgroup_masks *half_rgm = &(*masks)[nmasks / 2 - 1];
if (!half_rgm->masks.is_empty ()
- && vect_maybe_permute_loop_masks (&header_seq, rgm, half_rgm))
+ && vect_maybe_permute_loop_masks (loop_vinfo, &header_seq,
+ rgm, half_rgm))
continue;
}