diff options
author | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-15 23:17:10 +0800 |
---|---|---|
committer | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-20 10:35:38 +0800 |
commit | 70466e6f9d9fb87f78ffe2e397ca876b380cb493 (patch) | |
tree | 090edef1f11732443da8e4ab8e91e8f83ca19cba /gcc/ada | |
parent | ebfffb6c6557f1375c230ae6751f697cdfab4a60 (diff) | |
download | gcc-70466e6f9d9fb87f78ffe2e397ca876b380cb493.zip gcc-70466e6f9d9fb87f78ffe2e397ca876b380cb493.tar.gz gcc-70466e6f9d9fb87f78ffe2e397ca876b380cb493.tar.bz2 |
vect: Add a function to check lane-reducing stmt
Add a utility function to check if a statement is lane-reducing operation,
which could simplify some existing code.
2024-06-16 Feng Xue <fxue@os.amperecomputing.com>
gcc/
* tree-vectorizer.h (lane_reducing_stmt_p): New function.
* tree-vect-slp.cc (vect_analyze_slp): Use new function
lane_reducing_stmt_p to check statement.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions