tree-optimization/112450 - avoid AVX512 style masking for BImode masks
commit8863a7990e9f0cd49c8900605a2c75a0e8886e85
authorRichard Biener <rguenther@suse.de>
Thu, 9 Nov 2023 10:44:07 +0000 (9 11:44 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 9 Nov 2023 11:33:21 +0000 (9 12:33 +0100)
tree1ae19c8edd2722f8517089f8023130926787839c
parent8ebcea91e24964ec52ca2caf9f8585f3a785f7d5
tree-optimization/112450 - avoid AVX512 style masking for BImode masks

The following avoids running into the AVX512 style masking code for
RVV which would theoretically be able to handle it if I were not
relying on integer mode maskness in vect_get_loop_mask.  While that's
easy to fix (patch in PR), the preference is to not have AVX512 style
masking for RVV, thus the following.

* tree-vect-loop.cc (vect_verify_full_masking_avx512):
Check we have integer mode masks as required by
vect_get_loop_mask.
gcc/tree-vect-loop.cc