]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/110460 - fend off vector types from vectorizer
authorRichard Biener <rguenther@suse.de>
Thu, 29 Jun 2023 08:23:29 +0000 (10:23 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 29 Jun 2023 09:54:05 +0000 (11:54 +0200)
commitcd23ed2119120bd7b710fbe679fdfcb8f4461800
tree081b537b19dec8bf6130a17adbe81fb3af11f52b
parent4633e38cd22c5e51fac984124c7627be912d0999
tree-optimization/110460 - fend off vector types from vectorizer

The following makes fending off existing vector types from vectorization
also apply to word_mode vector types.  I've chosen to add a positive
list of allowed scalar types here for clarity.

PR tree-optimization/110460
* tree-vect-stmts.cc (get_related_vectype_for_scalar_type):
Only allow integral, pointer and scalar float type scalar_type.
gcc/tree-vect-stmts.cc