Re: [04/11] Add a vect_orig_stmt helper function

2018-08-01 Thread Richard Biener
On Mon, Jul 30, 2018 at 1:38 PM Richard Sandiford wrote: > > This patch just adds a helper function for going from a potential > pattern statement to the original scalar statement. OK. Richard. > > 2018-07-30 Richard Sandiford > > gcc/ > * tree-vectorizer.h (vect_orig_stmt): New func

[04/11] Add a vect_orig_stmt helper function

2018-07-30 Thread Richard Sandiford
This patch just adds a helper function for going from a potential pattern statement to the original scalar statement. 2018-07-30 Richard Sandiford gcc/ * tree-vectorizer.h (vect_orig_stmt): New function. * tree-vect-data-refs.c (vect_preserves_scalar_order_p): Use it.