aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2023-10-12 00:04:56 -0500
committerKewen Lin <linkw@linux.ibm.com>2023-10-12 00:04:56 -0500
commite00820c8e5cff0c1950a200354263fe6cc13493c (patch)
tree51b3cd3322396ba03f71c3ba206f7a24f57fd7ae /gcc/tree.cc
parent3bf2366685b24108674d12d7cf91b269e9ee2161 (diff)
downloadgcc-e00820c8e5cff0c1950a200354263fe6cc13493c.zip
gcc-e00820c8e5cff0c1950a200354263fe6cc13493c.tar.gz
gcc-e00820c8e5cff0c1950a200354263fe6cc13493c.tar.bz2
vect: Adjust vectorizable_store costing on VMAT_GATHER_SCATTER
This patch adjusts the cost handling on VMAT_GATHER_SCATTER in function vectorizable_store (all three cases), then we won't depend on vect_model_load_store for its costing any more. This patch shouldn't have any functional changes. gcc/ChangeLog: * tree-vect-stmts.cc (vect_model_store_cost): Assert it won't get VMAT_GATHER_SCATTER any more, remove VMAT_GATHER_SCATTER related handlings and the related parameter gs_info. (vect_build_scatter_store_calls): Add the handlings on costing with one more argument cost_vec. (vectorizable_store): Adjust the cost handling on VMAT_GATHER_SCATTER without calling vect_model_store_cost any more.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions