diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2024-08-20 11:38:20 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2024-08-27 10:01:13 -0700 |
commit | ac1f3a8901344759dc7c247d3749c74a0bb524b0 (patch) | |
tree | ee0637bb9e3434dd54552e51b0fb4cf905512b6b /gcc/cp/parser.cc | |
parent | c89038c7ae8bba7160ae2963647ce90171b5dd2c (diff) | |
download | gcc-ac1f3a8901344759dc7c247d3749c74a0bb524b0.zip gcc-ac1f3a8901344759dc7c247d3749c74a0bb524b0.tar.gz gcc-ac1f3a8901344759dc7c247d3749c74a0bb524b0.tar.bz2 |
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: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'gcc/cp/parser.cc')
0 files changed, 0 insertions, 0 deletions