Re: Fold MASK_LOAD/STORE with an all-true mask

2019-08-05 Thread Richard Biener
On Mon, Aug 5, 2019 at 10:50 AM Richard Sandiford wrote: > > This patch folds IFN_MASK_LOAD and IFN_MASK_STOREs to normal accesses > if the mask is all-true. This can happen for fully-masked loops that > didn't actually need to be (which could be handled by the vectoriser > instead), or for unrol

Fold MASK_LOAD/STORE with an all-true mask

2019-08-05 Thread Richard Sandiford
This patch folds IFN_MASK_LOAD and IFN_MASK_STOREs to normal accesses if the mask is all-true. This can happen for fully-masked loops that didn't actually need to be (which could be handled by the vectoriser instead), or for unrolled fully-masked loops whose first iteration is guaranteed to operat