diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-07-12 13:02:17 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-07-12 13:02:17 +0000 |
commit | 5249ee4d79855edda91b26bb07c9c8737cdfc96c (patch) | |
tree | 79b0f24d85f96dc00b4f8858b92f7df81b7181bf /gcc/file-prefix-map.c | |
parent | 2c58d42c3ed599b4c2976fc173eefd8e016ea216 (diff) | |
download | gcc-5249ee4d79855edda91b26bb07c9c8737cdfc96c.zip gcc-5249ee4d79855edda91b26bb07c9c8737cdfc96c.tar.gz gcc-5249ee4d79855edda91b26bb07c9c8737cdfc96c.tar.bz2 |
Implement SLP of internal functions
SLP of calls was previously restricted to built-in functions.
This patch extends it to internal functions.
2018-07-12 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* internal-fn.h (vectorizable_internal_fn_p): New function.
* tree-vect-slp.c (compatible_calls_p): Likewise.
(vect_build_slp_tree_1): Remove nops argument. Handle calls
to internal functions.
(vect_build_slp_tree_2): Update call to vect_build_slp_tree_1.
gcc/testsuite/
* gcc.dg/vect/vect-cond-arith-6.c: New test.
* gcc.target/aarch64/sve/cond_arith_4.c: Likewise.
* gcc.target/aarch64/sve/cond_arith_4_run.c: Likewise.
* gcc.target/aarch64/sve/cond_arith_5.c: Likewise.
* gcc.target/aarch64/sve/cond_arith_5_run.c: Likewise.
* gcc.target/aarch64/sve/slp_14.c: Likewise.
* gcc.target/aarch64/sve/slp_14_run.c: Likewise.
From-SVN: r262590
Diffstat (limited to 'gcc/file-prefix-map.c')
0 files changed, 0 insertions, 0 deletions