diff options
author | Richard Biener <rguenther@suse.de> | 2025-05-12 15:02:42 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-05-14 15:42:46 +0200 |
commit | 8ea0d98fc9a87e8f6e82cf431419871eeeb35baa (patch) | |
tree | d5a76930253a6fd394bb0b4bb8b809372388d19f /gcc/fortran/dump-parse-tree.cc | |
parent | 871099ae65a4f528496c7550331364866f9806bb (diff) | |
download | gcc-8ea0d98fc9a87e8f6e82cf431419871eeeb35baa.zip gcc-8ea0d98fc9a87e8f6e82cf431419871eeeb35baa.tar.gz gcc-8ea0d98fc9a87e8f6e82cf431419871eeeb35baa.tar.bz2 |
This transitions vect_model_simple_cost to SLP only
As part of the vector cost API cleanup this transitions
vect_model_simple_cost to only record costs with SLP node.
For this to work the patch adds an overload to record_stmt_cost
only passing in the SLP node.
The vect_prologue_cost_for_slp adjustment is one spot that
needs an eye with regard to re-doing the whole thing.
* tree-vectorizer.h (record_stmt_cost): Add overload with
only SLP node and no vector type.
* tree-vect-stmts.cc (record_stmt_cost): Use
SLP_TREE_REPRESENTATIVE for stmt_vec_info.
(vect_model_simple_cost): Do not get stmt_vec_info argument
and adjust.
(vectorizable_call): Adjust.
(vectorizable_simd_clone_call): Likewise.
(vectorizable_conversion): Likewise.
(vectorizable_assignment): Likewise.
(vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
(vectorizable_condition): Likewise.
(vectorizable_comparison_1): Likewise.
* tree-vect-slp.cc (vect_prologue_cost_for_slp): Use
full-blown record_stmt_cost.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.cc')
0 files changed, 0 insertions, 0 deletions