r238037 - in /trunk/gcc: ChangeLog tree-vect-da...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Jul 6 08:14:00 GMT 2016
Author: rsandifo
Date: Wed Jul 6 08:14:41 2016
New Revision: 238037
URL: https://gcc.gnu.org/viewcvs?rev=238037&root=gcc&view=rev
Log:
[5/7] Move the fix for PR65518
This patch moves the fix for PR65518 to the code that checks whether
load-and-permute operations are supported. If the group size is
greater than the vectorisation factor, it would still be possible
to fall back to elementwise loads (as for strided groups) rather
than fail vectorisation entirely.
Tested on aarch64-linux-gnu and x86_64-linux-gnu.
gcc/
* tree-vectorizer.h (vect_grouped_load_supported): Add a
single_element_p parameter.
* tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
Check the PR65518 case here rather than in vectorizable_load.
* tree-vect-loop.c (vect_analyze_loop_2): Update call accordignly.
* tree-vect-stmts.c (vectorizable_load): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-data-refs.c
trunk/gcc/tree-vect-loop.c
trunk/gcc/tree-vect-stmts.c
trunk/gcc/tree-vectorizer.h
More information about the Gcc-cvs
mailing list