Re: Fix vectorizable_mask_load_store handling of invariant masks

2017-09-15 Thread Jeff Law
On 09/15/2017 04:47 AM, Richard Sandiford wrote: > vectorizable_mask_load_store was not passing the required mask type to > vect_get_vec_def_for_operand. This doesn't matter for masks that are > defined in the loop, since their STMT_VINFO_VECTYPE will be what we need > anyway. But it's not possib

Fix vectorizable_mask_load_store handling of invariant masks

2017-09-15 Thread Richard Sandiford
vectorizable_mask_load_store was not passing the required mask type to vect_get_vec_def_for_operand. This doesn't matter for masks that are defined in the loop, since their STMT_VINFO_VECTYPE will be what we need anyway. But it's not possible to tell which mask type the caller needs when looking