Re: [9/n] PR85694: Add a vect_look_through_pattern helper

2018-06-20 Thread Richard Sandiford
Richard Biener writes: > On Mon, Jun 18, 2018 at 5:04 PM Richard Sandiford > wrote: >> >> When following the definitions of SSA names, some recognisers >> already cope with statements that have been replaced by patterns. >> This patch makes that happen automatically for users of >> type_conversio

Re: [9/n] PR85694: Add a vect_look_through_pattern helper

2018-06-19 Thread Richard Biener
On Mon, Jun 18, 2018 at 5:04 PM Richard Sandiford wrote: > > When following the definitions of SSA names, some recognisers > already cope with statements that have been replaced by patterns. > This patch makes that happen automatically for users of > type_conversion_p and vect_get_internal_def. I

[9/n] PR85694: Add a vect_look_through_pattern helper

2018-06-18 Thread Richard Sandiford
When following the definitions of SSA names, some recognisers already cope with statements that have been replaced by patterns. This patch makes that happen automatically for users of type_conversion_p and vect_get_internal_def. It also adds a vect_look_through_pattern helper that can be used dire