]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/114921 - _Float16 -> __bf16 isn't noop fixup
authorRichard Biener <rguenther@suse.de>
Mon, 6 May 2024 10:03:09 +0000 (12:03 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 7 May 2024 06:24:04 +0000 (08:24 +0200)
commitd0d6dcc019cd32eebf85d625f56e0f7573938319
tree26c33a7eeac2b8bfd845c4b15f6847edff2e7e80
parent79649a5dcd81bc05c0ba591068c9075de43bd417
tree-optimization/114921 - _Float16 -> __bf16 isn't noop fixup

The following further strengthens the check which convert expressions
we allow to vectorize as simple copy by resorting to
tree_nop_conversion_p on the vector components.

PR tree-optimization/114921
* tree-vect-stmts.cc (vectorizable_assignment): Use
tree_nop_conversion_p to identify converts we can vectorize
with a simple assignment.
gcc/tree-vect-stmts.cc