This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR middle-end/68134] Reject scalar modes in default get_mask_mode hook
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Nov 2015 13:26:14 +0100
- Subject: Re: [PATCH, PR middle-end/68134] Reject scalar modes in default get_mask_mode hook
- Authentication-results: sourceware.org; auth=none
- References: <20151117114907 dot GA42296 at msticlxl57 dot ims dot intel dot 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.
The patch looks OK to me.
Bernd