diff options
author | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-16 13:33:52 +0800 |
---|---|---|
committer | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-20 10:37:00 +0800 |
commit | ecbc96bb2873e453b0bd33d602ce34ad0d9d9cfd (patch) | |
tree | 04c64799093c0326b601c5bee3b74ad522bb4e5a /gcc/ada/debug.adb | |
parent | b9c369d900ccfbd2271028611af3f08b5cf6f998 (diff) | |
download | gcc-ecbc96bb2873e453b0bd33d602ce34ad0d9d9cfd.zip gcc-ecbc96bb2873e453b0bd33d602ce34ad0d9d9cfd.tar.gz gcc-ecbc96bb2873e453b0bd33d602ce34ad0d9d9cfd.tar.bz2 |
vect: Tighten an assertion for lane-reducing in transform
According to logic of code nearby the assertion, all lane-reducing operations
should not appear, not just DOT_PROD_EXPR. Since "use_mask_by_cond_expr_p"
treats SAD_EXPR same as DOT_PROD_EXPR, and WIDEN_SUM_EXPR should not be allowed
by the following assertion "gcc_assert (commutative_binary_op_p (...))", so
tighten the assertion.
2024-06-16 Feng Xue <fxue@os.amperecomputing.com>
gcc/
* tree-vect-loop.cc (vect_transform_reduction): Change assertion to
cover all lane-reducing ops.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions