Re: [083/nnn] poly_int: fold_indirect_ref_1

2017-11-28 Thread Jeff Law
On 10/23/2017 11:33 AM, Richard Sandiford wrote: > This patch makes fold_indirect_ref_1 handle polynomial offsets in > a POINTER_PLUS_EXPR. The specific reason for doing this now is > to handle: > > (tree_to_uhwi (part_width) / BITS_PER_UNIT > * TYPE_VECTOR_SUBPAR

[083/nnn] poly_int: fold_indirect_ref_1

2017-10-23 Thread Richard Sandiford
This patch makes fold_indirect_ref_1 handle polynomial offsets in a POINTER_PLUS_EXPR. The specific reason for doing this now is to handle: (tree_to_uhwi (part_width) / BITS_PER_UNIT * TYPE_VECTOR_SUBPARTS (op00type)); when TYPE_VECTOR_SUBPARTS becomes a poly