Re: [27/46] Remove duplicated stmt_vec_info lookups

2018-07-25 Thread Richard Biener
On Tue, Jul 24, 2018 at 12:03 PM Richard Sandiford wrote: > > Various places called vect_dr_stmt or vinfo_for_stmt multiple times > on the same input. This patch makes them reuse the earlier result. > It also splits a couple of single vinfo_for_stmt calls out into > separate statements so that

[27/46] Remove duplicated stmt_vec_info lookups

2018-07-24 Thread Richard Sandiford
Various places called vect_dr_stmt or vinfo_for_stmt multiple times on the same input. This patch makes them reuse the earlier result. It also splits a couple of single vinfo_for_stmt calls out into separate statements so that they can be reused in later patches. 2018-07-24 Richard Sandiford