Re: [12/n] PR85694: Rework detection of widened operations

2018-06-29 Thread Richard Biener
On Fri, Jun 29, 2018 at 11:20 AM Richard Sandiford wrote: > > Richard Sandiford writes: > > This patch adds helper functions for detecting widened operations and > > generalises the existing code to handle more cases. > > > > One of the main changes is to recognise multi-stage type conversions, >

Re: [12/n] PR85694: Rework detection of widened operations

2018-06-29 Thread Richard Sandiford
Richard Sandiford writes: > This patch adds helper functions for detecting widened operations and > generalises the existing code to handle more cases. > > One of the main changes is to recognise multi-stage type conversions, > which are possible even in the original IR and can also occur as a > r

[12/n] PR85694: Rework detection of widened operations

2018-06-20 Thread Richard Sandiford
This patch adds helper functions for detecting widened operations and generalises the existing code to handle more cases. One of the main changes is to recognise multi-stage type conversions, which are possible even in the original IR and can also occur as a result of earlier pattern matching (esp