diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-07-06 08:11:31 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2016-07-06 08:11:31 +0000 |
commit | 892a981f1efb398768ad5a138fb7c971462d1e79 (patch) | |
tree | 1f91e7c6c78093e4eabfdff3d368482457806d98 /gcc/tree-vectorizer.h | |
parent | c01e092fb3a8fb91602b54d8b5f10cc23c27089c (diff) | |
download | gcc-892a981f1efb398768ad5a138fb7c971462d1e79.zip gcc-892a981f1efb398768ad5a138fb7c971462d1e79.tar.gz gcc-892a981f1efb398768ad5a138fb7c971462d1e79.tar.bz2 |
[2/7] Clean up vectorizer load/store costs
Add a bit more commentary and try to make the structure more obvious.
The horrendous:
if (grouped_access_p
&& represents_group_p
&& !store_lanes_p
&& !STMT_VINFO_STRIDED_P (stmt_info)
&& !slp_node)
checks go away in patch 6.
Tested on aarch64-linux-gnu and x86_64-linux-gnu.
gcc/
* tree-vect-stmts.c (vect_cost_group_size): Delete.
(vect_model_store_cost): Avoid calling it. Use first_stmt_p
variable to indicate when once-per-group costs are being used.
(vect_model_load_cost): Likewise. Fix comment and misindented code.
From-SVN: r238034
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions