Re: [PATCH 1/2] make vect_finish_stmt_generation work w/o stmt_vec_info

2020-05-27 Thread Richard Biener
On May 27, 2020 5:40:30 PM GMT+02:00, Richard Sandiford wrote: >Richard Biener writes: >> This makes the call chain below vec_init_vector happy with a NULL >> stmt_vec_info which is used as "context". >> >> 2020-05-27 Richard Biener >> >> * tree-vect-stmts.c (vect_finish_stmt_generation_

Re: [PATCH 1/2] make vect_finish_stmt_generation work w/o stmt_vec_info

2020-05-27 Thread Richard Sandiford
Richard Biener writes: > This makes the call chain below vec_init_vector happy with a NULL > stmt_vec_info which is used as "context". > > 2020-05-27 Richard Biener > > * tree-vect-stmts.c (vect_finish_stmt_generation_1): > Conditionalize stmt_info use, assert the new stmt cannot th

[PATCH 1/2] make vect_finish_stmt_generation work w/o stmt_vec_info

2020-05-27 Thread Richard Biener
This makes the call chain below vec_init_vector happy with a NULL stmt_vec_info which is used as "context". 2020-05-27 Richard Biener * tree-vect-stmts.c (vect_finish_stmt_generation_1): Conditionalize stmt_info use, assert the new stmt cannot throw when not specified.