diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-11-08 16:08:03 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-11-08 16:08:03 +0000 |
commit | d308ca27c71e43625b378dc6c2774105867d4fa7 (patch) | |
tree | f10d05368dc74046b05aa79baa3a0ae7fda28b41 /gcc/tree-ssa-loop-prefetch.c | |
parent | fd14d6cbc4c82fd22a77d7c38ec37b5c8a97f23c (diff) | |
download | gcc-d308ca27c71e43625b378dc6c2774105867d4fa7.zip gcc-d308ca27c71e43625b378dc6c2774105867d4fa7.tar.gz gcc-d308ca27c71e43625b378dc6c2774105867d4fa7.tar.bz2 |
Use correct vector type in neutral_op_for_slp_reduction
With the new reduction vectype handling, neutral_op_for_slp_reduction
needs to know whether the caller is using STMT_VINFO_REDUC_VECTYPE
(for an epilogue value) or STMT_VINFO_VECTYPE (for a PHI argument).
This fixes various gcc.target/aarch64/sve/slp_* tests.
2019-11-08 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vect-loop.c (neutral_op_for_slp_reduction): Take the
vector type as an argument rather than reading it from the
stmt_vec_info.
(vect_create_epilog_for_reduction): Update accordingly.
(vectorizable_reduction): Likewise.
(vect_transform_cycle_phi): Likewise.
From-SVN: r277977
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions