diff options
author | Pan Li <pan2.li@intel.com> | 2025-06-04 11:06:52 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2025-06-04 16:45:23 +0800 |
commit | a8b38447efe2c74094b865e1cc44723659dac2e4 (patch) | |
tree | 82d717b0409fa30c0dc93a62b9f6d48bfaf857f5 /libstdc++-v3/testsuite/std | |
parent | f7df645956459c559f254d622090d4dd09159890 (diff) | |
download | gcc-a8b38447efe2c74094b865e1cc44723659dac2e4.zip gcc-a8b38447efe2c74094b865e1cc44723659dac2e4.tar.gz gcc-a8b38447efe2c74094b865e1cc44723659dac2e4.tar.bz2 |
RISC-V: Leverage get_vector_binary_rtx_cost to avoid code dup [NFC]
Some similar code could be wrapped to func get_vector_binary_rtx_cost,
thus leverage this function to avoid code duplication.
The below test suites are passed for this patch series.
* The rv64gcv fully regression test.
gcc/ChangeLog:
* config/riscv/riscv.cc (get_vector_binary_rtx_cost): Rename
the args to scalar2vr.
(riscv_rtx_costs): Leverage above func to avoid code dup.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions