Re: [PATCH] Fix vect_init_vector regression (PR tree-optimization/91063)

2019-07-04 Thread Richard Biener
On Thu, 4 Jul 2019, Jakub Jelinek wrote: > Hi! > > A recent change in vect_init_vector emits new statements into a gimple_seq > stmts and then calls vect_init_vector_1 on each of those statements. > > This doesn't work well, because vect_init_vector_1 places the given > statement into another se

[PATCH] Fix vect_init_vector regression (PR tree-optimization/91063)

2019-07-03 Thread Jakub Jelinek
Hi! A recent change in vect_init_vector emits new statements into a gimple_seq stmts and then calls vect_init_vector_1 on each of those statements. This doesn't work well, because vect_init_vector_1 places the given statement into another sequence (body of some bb, on the edge, ...), and when the