aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2023-10-12 00:04:57 -0500
committerKewen Lin <linkw@linux.ibm.com>2023-10-12 00:04:57 -0500
commit6a88202e5a43f7b9cafd9fbfca74e3c53ea0f911 (patch)
tree45f6e8a84ee64ace4f97f4770fcc75d07a24326a /gcc/tree.cc
parent8b151eb96b909094050b0be2a204b578b154ee93 (diff)
downloadgcc-6a88202e5a43f7b9cafd9fbfca74e3c53ea0f911.zip
gcc-6a88202e5a43f7b9cafd9fbfca74e3c53ea0f911.tar.gz
gcc-6a88202e5a43f7b9cafd9fbfca74e3c53ea0f911.tar.bz2
vect: Adjust vectorizable_store costing on VMAT_LOAD_STORE_LANES
This patch adjusts the cost handling on VMAT_LOAD_STORE_LANES in function vectorizable_store. We don't call function vect_model_store_cost for it any more. It's the case of interleaving stores, so it skips all stmts excepting for first_stmt_info, consider the whole group when costing first_stmt_info. This patch shouldn't have any functional changes. gcc/ChangeLog: * tree-vect-stmts.cc (vect_model_store_cost): Assert it will never get VMAT_LOAD_STORE_LANES. (vectorizable_store): Adjust the cost handling on VMAT_LOAD_STORE_LANES without calling vect_model_store_cost. Factor out new lambda function update_prologue_cost.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions