RISC-V: Fix redundant variable declaration.

Notice there is mistake for RISC-V I made in the last patch.
Fix it. Sorry about that.

gcc/ChangeLog:

	* config/riscv/riscv-v.cc (expand_gather_scatter): Remove redundant variables.
This commit is contained in:
Juzhe-Zhong 2023-07-21 17:57:27 +08:00 committed by Lehua Ding
parent 3ded4832e0
commit 1d96b11e4a

View file

@ -3212,7 +3212,7 @@ prepare_gather_scatter (machine_mode vec_mode, machine_mode idx_mode,
void
expand_gather_scatter (rtx *ops, bool is_load)
{
rtx ptr, vec_offset, vec_reg, len, mask;
rtx ptr, vec_offset, vec_reg;
bool zero_extend_p;
int scale_log2;
rtx mask = ops[5];