diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2023-10-12 00:04:57 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2023-10-12 00:04:57 -0500 |
commit | 0bdb9bb5607edd7df1ee74ddfcadb87324ca00c2 (patch) | |
tree | 24c2d8858f398c1ee8a93289a77d3a8c97d67c60 /gcc/tree.cc | |
parent | 0a96eedb3477be23391f54cb1f2302fe67641188 (diff) | |
download | gcc-0bdb9bb5607edd7df1ee74ddfcadb87324ca00c2.zip gcc-0bdb9bb5607edd7df1ee74ddfcadb87324ca00c2.tar.gz gcc-0bdb9bb5607edd7df1ee74ddfcadb87324ca00c2.tar.bz2 |
vect: Get rid of vect_model_store_cost
This patch is to eventually get rid of vect_model_store_cost,
it adjusts the costing for the remaining memory access types
VMAT_CONTIGUOUS{, _DOWN, _REVERSE} by moving costing close
to the transform code. Note that in vect_model_store_cost,
there is one special handling for vectorizing a store into
the function result, since it's extra penalty and the
transform part doesn't have it, this patch keep it alone.
gcc/ChangeLog:
* tree-vect-stmts.cc (vect_model_store_cost): Remove.
(vectorizable_store): Adjust the costing for the remaining memory
access types VMAT_CONTIGUOUS{, _DOWN, _REVERSE}.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions