diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2023-07-12 21:23:21 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2023-07-12 23:12:15 -0500 |
commit | 2115c22617c88fea0470cb87de284de904ed786e (patch) | |
tree | 6dfdf66c70a669151dd362893bb16ba1092ba09f /gcc/fortran | |
parent | 574a1ea4406dd1dbf14e149a9b5d142f6cbdf32a (diff) | |
download | gcc-2115c22617c88fea0470cb87de284de904ed786e.zip gcc-2115c22617c88fea0470cb87de284de904ed786e.tar.gz gcc-2115c22617c88fea0470cb87de284de904ed786e.tar.bz2 |
vect: Adjust vectorizable_load costing on VMAT_GATHER_SCATTER && gs_info.decl
This patch adds one extra argument cost_vec to function
vect_build_gather_load_calls, so that we can do costing
next to the tranform in vect_build_gather_load_calls.
For now, the implementation just follows the handlings in
vect_model_load_cost, it isn't so good, so placing one
FIXME for any further improvement. This patch should not
cause any functional changes.
gcc/ChangeLog:
* tree-vect-stmts.cc (vect_build_gather_load_calls): Add the handlings
on costing with one extra argument cost_vec.
(vectorizable_load): Adjust the call to vect_build_gather_load_calls.
(vect_model_load_cost): Assert it won't get VMAT_GATHER_SCATTER with
gs_info.decl set any more.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions