Re: [42/46] Add vec_info::replace_stmt

2018-07-31 Thread Richard Biener
On Tue, Jul 24, 2018 at 12:09 PM Richard Sandiford wrote: > > This patch adds a helper for replacing a stmt_vec_info's statement with > a new statement. OK. > > 2018-07-24 Richard Sandiford > > gcc/ > * tree-vectorizer.h (vec_info::replace_stmt): Declare. > * tree-vectorizer.c

[42/46] Add vec_info::replace_stmt

2018-07-24 Thread Richard Sandiford
This patch adds a helper for replacing a stmt_vec_info's statement with a new statement. 2018-07-24 Richard Sandiford gcc/ * tree-vectorizer.h (vec_info::replace_stmt): Declare. * tree-vectorizer.c (vec_info::replace_stmt): New function. * tree-vect-slp.c (vect_remove_