]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Use one reduction_type local variable
authorFeng Xue <fxue@os.amperecomputing.com>
Sun, 16 Jun 2024 04:17:26 +0000 (12:17 +0800)
committerFeng Xue <fxue@os.amperecomputing.com>
Thu, 20 Jun 2024 02:35:40 +0000 (10:35 +0800)
commit0726f1cde5459ccdbaa6af8c6904276a28d572ba
treec636ed57461afe300317754a1fd8079a5bec757d
parenta944e57506fc64b8eede79c2405ba0b498461f0b
vect: Use one reduction_type local variable

Two local variables were defined to refer same STMT_VINFO_REDUC_TYPE, better
to keep only one.

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

gcc/
* tree-vect-loop.cc (vectorizable_reduction): Remove v_reduc_type, and
replace it to another local variable reduction_type.
gcc/tree-vect-loop.cc