Re: [05/11] Add a vect_stmt_to_vectorize helper function

2018-08-01 Thread Richard Biener
On Mon, Jul 30, 2018 at 1:39 PM Richard Sandiford wrote: > > This patch adds a helper that does the opposite of vect_orig_stmt: > go from the original scalar statement to the statement that should > actually be vectorised. > > The use in the last two hunks of vectorizable_reduction are because > r

[05/11] Add a vect_stmt_to_vectorize helper function

2018-07-30 Thread Richard Sandiford
This patch adds a helper that does the opposite of vect_orig_stmt: go from the original scalar statement to the statement that should actually be vectorised. The use in the last two hunks of vectorizable_reduction are because reduc_stmt_info (first hunk) and stmt_info (second hunk) are already pat