Re: Add tree_fits_uhwi_p tests to BIT_FIELD_REF folder

2018-01-05 Thread Richard Biener
On Thu, Jan 4, 2018 at 11:06 AM, Richard Sandiford wrote: > The first BIT_FIELD_REF folding pattern assumed without checking that > operands satisfy tree_fits_uhwi_p. The second pattern does check this: > > /* On constants we can use native encode/interpret to constant > fold (near

Re: Add tree_fits_uhwi_p tests to BIT_FIELD_REF folder

2018-01-04 Thread Jeff Law
On 01/04/2018 03:06 AM, Richard Sandiford wrote: > The first BIT_FIELD_REF folding pattern assumed without checking that > operands satisfy tree_fits_uhwi_p. The second pattern does check this: > > /* On constants we can use native encode/interpret to constant > fold (nearly) all B