diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2022-08-30 15:43:45 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2022-08-30 15:43:45 +0100 |
commit | 5edc67b773372bf013f98a357912381d99de65f5 (patch) | |
tree | 69d70df8d626c9a71924b475cd678346a7df31e3 /gcc/tree-vectorizer.h | |
parent | 25c2a50cc343eb7c2500b69a6556551d5221393f (diff) | |
download | gcc-5edc67b773372bf013f98a357912381d99de65f5.zip gcc-5edc67b773372bf013f98a357912381d99de65f5.tar.gz gcc-5edc67b773372bf013f98a357912381d99de65f5.tar.bz2 |
Split code out of vectorizable_slp_permutation
A later patch needs to test whether the target supports a
lane_permutation_t without having to construct a full SLP
node to test that. This patch splits out most of the work
of vectorizable_slp_permutation into a subroutine, so that
properties of the permutation can be passed explicitly without
disturbing the main interface.
The new subroutine still uses an slp_tree argument to get things
like the number of lanes and the vector type. That's a bit clunky,
but it seemed like the least worst option.
gcc/
* tree-vect-slp.cc (vectorizable_slp_permutation_1): Split out from...
(vectorizable_slp_permutation): ...here.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions