Re: [2/6] Make vec_info::lookup_single_use take a stmt_vec_info

2018-08-28 Thread Jeff Law
On 08/28/2018 05:21 AM, Richard Sandiford wrote: > All callers to vec_info::lookup_single_use are asking about the lhs of a > statement that they're already examining. It makes more sense to pass > that statement instead of the SSA name, since it is then easier to > handle statements that have bee

[2/6] Make vec_info::lookup_single_use take a stmt_vec_info

2018-08-28 Thread Richard Sandiford
All callers to vec_info::lookup_single_use are asking about the lhs of a statement that they're already examining. It makes more sense to pass that statement instead of the SSA name, since it is then easier to handle statements that have been replaced by pattern statements. A later patch adds sup