aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorFeng Xue <fxue@os.amperecomputing.com>2024-06-16 13:33:52 +0800
committerFeng Xue <fxue@os.amperecomputing.com>2024-06-20 10:37:00 +0800
commitecbc96bb2873e453b0bd33d602ce34ad0d9d9cfd (patch)
tree04c64799093c0326b601c5bee3b74ad522bb4e5a /gcc/ada
parentb9c369d900ccfbd2271028611af3f08b5cf6f998 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions