aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorFeng Xue <fxue@os.amperecomputing.com>2024-05-29 16:41:57 +0800
committerFeng Xue <fxue@os.amperecomputing.com>2024-06-01 09:10:47 +0800
commitd53f555edb95248dbf81347ba5e4136e9a491eca (patch)
tree621d321b5c44e419eaadd3e8413bc7297f6f1ec8 /gcc/cp/tree.cc
parent79c3547b8adfdfdb2a167c1b9c9428902510adab (diff)
downloadgcc-d53f555edb95248dbf81347ba5e4136e9a491eca.zip
gcc-d53f555edb95248dbf81347ba5e4136e9a491eca.tar.gz
gcc-d53f555edb95248dbf81347ba5e4136e9a491eca.tar.bz2
vect: Bind input vectype to lane-reducing operation
The input vectype is an attribute of lane-reducing operation, instead of reduction PHI that it is associated to, since there might be more than one lane-reducing operations with different type in a loop reduction chain. So bind each lane-reducing operation with its own input type. 2024-05-29 Feng Xue <fxue@os.amperecomputing.com> gcc/ * tree-vect-loop.cc (vect_is_emulated_mixed_dot_prod): Remove parameter loop_vinfo. Get input vectype from stmt_info instead of reduction PHI. (vect_model_reduction_cost): Remove loop_vinfo argument of call to vect_is_emulated_mixed_dot_prod. (vect_transform_reduction): Likewise. (vectorizable_reduction): Likewise, and bind input vectype to lane-reducing operation.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions