There's one use of STMT_VINFO_VECTYPE in vectorizable_reduction
where I'm only 99% sure which SLP_TREE_VECTYPE to replace it with
(vectorizable_reduction needs a lot of post-only-SLP TLC). The
following replaces it with the hopefully appropriate one.
* tree-vect-loop.cc (vectorizable_reduction): Replace
STMT_VINFO_VECTYPE use with SLP_TREE_VECTYPE.
vectype_in = vectype_op;
}
else if (!vectype_in)
- vectype_in = STMT_VINFO_VECTYPE (phi_info);
+ vectype_in = SLP_TREE_VECTYPE (slp_node);
if (!REDUC_GROUP_FIRST_ELEMENT (vdef))
vdef_slp = SLP_TREE_CHILDREN (vdef_slp)[reduc_idx];
}