From: Pan Li <[email protected]> Recently we found RISC-V vx-6-u8.c failed due to cannot vectorize on the cost model, with gpr-2-vr cost is 2. Thus, adjust it from 2 to 3 to make it happy.
The below test suites are passed for this patch: 1. The rv64gcv fully regression tests. 2. The x86 bootstrap tests. 3. The x86 fully regression tests. 4. Fix about 100 failures of RISC-V vector vx_vf. Pan Li (2): Vect: Adjust depth_limit of vec_slp_has_scalar_use from 2 to 3 RISC-V: Adjust the asm check of vx_vf due to middle-end change .../riscv/rvv/autovec/sat_add-cost-1.c | 59 +++++++++++++++++++ .../riscv/rvv/autovec/vx_vf/vx-5-i64.c | 5 +- .../riscv/rvv/autovec/vx_vf/vx-5-u32.c | 2 +- .../riscv/rvv/autovec/vx_vf/vx-5-u64.c | 5 +- .../riscv/rvv/autovec/vx_vf/vx-6-u32.c | 2 +- gcc/tree-vect-slp.cc | 2 +- 6 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/autovec/sat_add-cost-1.c -- 2.43.0
