aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorFeng Xue <fxue@os.amperecomputing.com>2024-05-29 13:45:09 +0800
committerFeng Xue <fxue@os.amperecomputing.com>2024-06-01 08:57:41 +0800
commit79c3547b8adfdfdb2a167c1b9c9428902510adab (patch)
tree8081047d07f5db83af3f3864d9318813b88385bd /gcc/cp/tree.cc
parentc0f31701556c4162463f28bc0f03007f40a6176e (diff)
downloadgcc-79c3547b8adfdfdb2a167c1b9c9428902510adab.zip
gcc-79c3547b8adfdfdb2a167c1b9c9428902510adab.tar.gz
gcc-79c3547b8adfdfdb2a167c1b9c9428902510adab.tar.bz2
vect: Split out partial vect checking for reduction into a function
Partial vectorization checking for vectorizable_reduction is a piece of relatively isolated code, which may be reused by other places. Move the code into a new function for sharing. 2024-05-29 Feng Xue <fxue@os.amperecomputing.com> gcc/ * tree-vect-loop.cc (vect_reduction_update_partial_vector_usage): New function. (vectorizable_reduction): Move partial vectorization checking code to vect_reduction_update_partial_vector_usage.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions