diff options
author | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-16 13:00:32 +0800 |
---|---|---|
committer | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-30 14:46:40 +0800 |
commit | 3aa004f1db327d5728a8fd0afcfed24e767f0499 (patch) | |
tree | 5136a56aa97bbe27affa3932751a4299f8b0c0ca /libgomp/allocator.c | |
parent | 1ff5f8f8a05dd57620a1e2abbf87bd511b113cce (diff) | |
download | gcc-3aa004f1db327d5728a8fd0afcfed24e767f0499.zip gcc-3aa004f1db327d5728a8fd0afcfed24e767f0499.tar.gz gcc-3aa004f1db327d5728a8fd0afcfed24e767f0499.tar.bz2 |
vect: Determine input vectype for multiple lane-reducing operations
The input vectype of reduction PHI statement must be determined before
vect cost computation for the reduction. Since lance-reducing operation has
different input vectype from normal one, so we need to traverse all reduction
statements to find out the input vectype with the least lanes, and set that to
the PHI statement.
2024-06-16 Feng Xue <fxue@os.amperecomputing.com>
gcc/
* tree-vect-loop.cc (vectorizable_reduction): Determine input vectype
during traversal of reduction statements.
Diffstat (limited to 'libgomp/allocator.c')
0 files changed, 0 insertions, 0 deletions