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
commit0a96eedb3477be23391f54cb1f2302fe67641188 (patch)
tree504a0718ed9305888e61e75c4f3df976d76f5f5c /gcc/tree.cc
parent6a88202e5a43f7b9cafd9fbfca74e3c53ea0f911 (diff)
downloadgcc-0a96eedb3477be23391f54cb1f2302fe67641188.zip
gcc-0a96eedb3477be23391f54cb1f2302fe67641188.tar.gz
gcc-0a96eedb3477be23391f54cb1f2302fe67641188.tar.bz2
vect: Adjust vectorizable_store costing on VMAT_CONTIGUOUS_PERMUTE
This patch adjusts the cost handling on VMAT_CONTIGUOUS_PERMUTE 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_CONTIGUOUS_PERMUTE and remove VMAT_CONTIGUOUS_PERMUTE related handlings. (vectorizable_store): Adjust the cost handling on VMAT_CONTIGUOUS_PERMUTE without calling vect_model_store_cost.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions