Re: [26/77] Use is_a in subreg/extract simplifications

2017-08-15 Thread Jeff Law
On 07/13/2017 02:48 AM, Richard Sandiford wrote: > This patch adds is_a checks to various places that > were optimising subregs or extractions in ways that only made sense > for scalar integers. Often the subreg transformations were looking > for extends, truncates or shifts and trying to remove

[26/77] Use is_a in subreg/extract simplifications

2017-07-13 Thread Richard Sandiford
This patch adds is_a checks to various places that were optimising subregs or extractions in ways that only made sense for scalar integers. Often the subreg transformations were looking for extends, truncates or shifts and trying to remove the subreg, which wouldn't be correct if the SUBREG_REG w