This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, PR middle-end/68134] Reject scalar modes in default get_mask_mode hook


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.

The patch looks OK to me.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]