Skip to content
Snippets Groups Projects
Unverified Commit c89038c7 authored by Patrick O'Neill's avatar Patrick O'Neill
Browse files

RISC-V: Fix vid const vector expander for non-npatterns size steps


Prior to this patch the expander would emit vectors like:
{ 0, 0, 5, 5, 10, 10, ...}
as:
{ 0, 0, 2, 2,  4,  4, ...}

This patch sets the step size to the requested value.

gcc/ChangeLog:

	* config/riscv/riscv-v.cc (expand_const_vector): Fix STEP size in
	expander.

Signed-off-by: default avatarPatrick O'Neill <patrick@rivosinc.com>
parent 37c21d4c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment