diff options
author | Richard Biener <rguenther@suse.de> | 2020-06-17 15:22:10 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-06-17 16:30:21 +0200 |
commit | 8a9e230f41eb406380ab0d9c2b73031133d54259 (patch) | |
tree | c47d5a0c76c39420d9cdb189b736a66827978436 /gcc/cp/class.c | |
parent | ae2ebf011fec926e003645c33c07a03619ea216a (diff) | |
download | gcc-8a9e230f41eb406380ab0d9c2b73031133d54259.zip gcc-8a9e230f41eb406380ab0d9c2b73031133d54259.tar.gz gcc-8a9e230f41eb406380ab0d9c2b73031133d54259.tar.bz2 |
Use SLP_TREE_VECTYPE consistently
This assigns SLP_TREE_VECTYPE to all SLP nodes and uses it when
analyzing def operands. It does not deal with mismatches between
SLP_TREE_VECTYPE and STMT_VINFO_VECTYPE yet - those cases are
still rejected until I get to clean up the interaction with data
reference groups.
2020-06-17 Richard Biener <rguenther@suse.de>
* tree-vect-slp.c (vect_build_slp_tree_1): Set the passed
in *vectype parameter.
(vect_build_slp_tree_2): Set SLP_TREE_VECTYPE from what
vect_build_slp_tree_1 computed.
(vect_analyze_slp_instance): Set SLP_TREE_VECTYPE.
(vect_slp_analyze_node_operations_1): Use the SLP node vector type.
(vect_schedule_slp_instance): Likewise.
* tree-vect-stmts.c (vect_is_simple_use): Take the vector type
from SLP_TREE_VECTYPE.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions