Re: [11/46] Pass back a stmt_vec_info from vect_is_simple_use

2018-07-25 Thread Richard Biener
On Tue, Jul 24, 2018 at 11:57 AM Richard Sandiford wrote: > > This patch makes vect_is_simple_use pass back a stmt_vec_info to > those callers that want it. Most users only need the stmt_vec_info > but some need the gimple stmt too. Hmm. Unfortunately it's not redundant for dt_extern ... > It'

[11/46] Pass back a stmt_vec_info from vect_is_simple_use

2018-07-24 Thread Richard Sandiford
This patch makes vect_is_simple_use pass back a stmt_vec_info to those callers that want it. Most users only need the stmt_vec_info but some need the gimple stmt too. It's probably high time we added a class to represent "simple operands" instead, but I have a separate series that tries to clean