]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Fix magic number of RVV auto-vectorization expander
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 24 May 2023 01:49:11 +0000 (09:49 +0800)
committerJeff Law <jlaw@ventanamicro.com>
Fri, 14 Jul 2023 02:05:26 +0000 (20:05 -0600)
commit023c974e8ffc14f4bf83fb88a41b009f19090201
treeda529707bafe5e9825831ccbf9ac09bdf52feea5
parent7c8a202309f759660c7e6d1f953841d152b968fa
RISC-V: Fix magic number of RVV auto-vectorization expander

This simple patch fixes the magic number, remove magic number make codes
more reasonable.

gcc/ChangeLog:

* config/riscv/riscv-v.cc (expand_vec_series): Remove magic number.
(expand_const_vector): Ditto.
(legitimize_move): Ditto.
(sew64_scalar_helper): Ditto.
(expand_tuple_move): Ditto.
(expand_vector_init_insert_elems): Ditto.
* config/riscv/riscv.cc (vector_zero_call_used_regs): Ditto.

Signed-off-by: Juzhe-Zhong <juzhe.zhong@rivai.ai>
gcc/config/riscv/riscv-v.cc
gcc/config/riscv/riscv.cc
This page took 0.091123 seconds and 5 git commands to generate.