[Bug tree-optimization/115867] [14 Regression] ICE: tree check: expected vector_type, have integer_type in TYPE_VECTOR_SUBPARTS, at tree.h:4246
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 16 14:23:16 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115867
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:ca275b68ef11d7d70bff8d7426e45b37366664b3
commit r14-10436-gca275b68ef11d7d70bff8d7426e45b37366664b3
Author: Richard Biener <rguenther@suse.de>
Date: Thu Jul 11 10:18:55 2024 +0200
tree-optimization/115867 - ICE with simdcall vectorization in masked loop
When only a loop mask is to be supplied for the inbranch arg to a
simd function we fail to handle integer mode masks correctly. We
need to guess the number of elements represented by it. This assumes
that excess arguments are all for masks, I wasn't able to create
a simdclone with more than one integer mode mask argument.
The gcc.dg/vect/vect-simd-clone-20.c exercises this with -mavx512vl
PR tree-optimization/115867
* tree-vect-stmts.cc (vectorizable_simd_clone_call): Properly
guess the number of mask elements for integer mode masks.
(cherry picked from commit 4f4478f0f31263997bfdc4159f90e58dd79b38f9)
More information about the Gcc-bugs
mailing list