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

RISC-V: Reorder insn cost match order to match corresponding expander match order


The corresponding expander (riscv-v.cc:expand_const_vector) matches
const_vec_duplicate_p before const_vec_series_p. Reorder to match this
behavior when calculating costs.

gcc/ChangeLog:

	* config/riscv/riscv.cc (riscv_const_insns): Relocate.

Signed-off-by: default avatarPatrick O'Neill <patrick@rivosinc.com>
parent c89038c7
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