]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Remove duplicated check on reduction operand
authorFeng Xue <fxue@os.amperecomputing.com>
Sun, 16 Jun 2024 04:08:56 +0000 (12:08 +0800)
committerFeng Xue <fxue@os.amperecomputing.com>
Thu, 20 Jun 2024 02:35:39 +0000 (10:35 +0800)
commita944e57506fc64b8eede79c2405ba0b498461f0b
tree8ae4854bb1e07fe75cccf66dbc559fef1494bf6d
parent70466e6f9d9fb87f78ffe2e397ca876b380cb493
vect: Remove duplicated check on reduction operand

In vectorizable_reduction, one check on a reduction operand via index could be
contained by another one check via pointer, so remove the former.

2024-06-16 Feng Xue <fxue@os.amperecomputing.com>

gcc/
* tree-vect-loop.cc (vectorizable_reduction): Remove the duplicated
check.
gcc/tree-vect-loop.cc