2015-11-17 15:26 GMT+03:00 Bernd Schmidt <bschm...@redhat.com>: > On 11/17/2015 12:49 PM, Ilya Enkovich wrote: >> >> Default hook for get_mask_mode is supposed to return integer vector >> modes. This means it should reject calar modes returned by >> mode_for_vector. Bootstrapped and regtested on >> x86_64-unknown-linux-gnu, regtested on aarch64-unknown-linux-gnu. OK >> for trunk? > > > You didn't say what exactly fails if an integer mode is returned. I'm > assuming it's build_truth_vector_type which can call make_vector_type with > an integer mode.
In case of integer mode we don't have such instruction in optab but don't lower it either. Ilya > > The patch looks OK to me. > > > Bernd