On Fri, 25 Sep 2020, Tamar Christina wrote: > Hi All, > > This is a small refactoring which introduces SLP_TREE_REF_COUNT and replaces > the uses of refcnt with it. This for consistency between the other > properties. > > A similar patch was pre-approved last year but since there are more use now I > am > sending it for review anyway. > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master?
OK. > Thanks, > Tamar > > gcc/ChangeLog: > > * tree-vectorizer.h (SLP_TREE_REF_COUNT): New. > * tree-vect-slp.c (_slp_tree::_slp_tree, _slp_tree::~_slp_tree, > vect_free_slp_tree, vect_build_slp_tree, vect_print_slp_tree, > slp_copy_subtree, vect_attempt_slp_rearrange_stmts): Use it. > > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imend