Re: [03/46] Remove unnecessary update of NUM_SLP_USES

2018-07-25 Thread Richard Biener
On Tue, Jul 24, 2018 at 11:53 AM Richard Sandiford wrote: > > vect_free_slp_tree had: > > gimple *stmt; > FOR_EACH_VEC_ELT (SLP_TREE_SCALAR_STMTS (node), i, stmt) > /* After transform some stmts are removed and thus their vinfo is gone. > */ > if (vinfo_for_stmt (stmt)) > { >

[03/46] Remove unnecessary update of NUM_SLP_USES

2018-07-24 Thread Richard Sandiford
vect_free_slp_tree had: gimple *stmt; FOR_EACH_VEC_ELT (SLP_TREE_SCALAR_STMTS (node), i, stmt) /* After transform some stmts are removed and thus their vinfo is gone. */ if (vinfo_for_stmt (stmt)) { gcc_assert (STMT_VINFO_NUM_SLP_USES (vinfo_for_stmt (stmt)) > 0);