Thanks Robin. The failures of FAIL: gcc.dg/vect/vect-strided-a-u8-i2-gap.c -flto -ffat-lto-objects (test for excess errors) from the linux-rv64gcv-lp64d testsuite log should not be a real failure (build failure but run success).
It passed locally as below, so will commit it soon. Executing on host: /home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/xgcc -B/home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/ /home/pli/gcc/111/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c -march=rv64gcv -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output -mno-vector-strict-align -ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -lm -o ./vect-strided-a-u8-i2-gap.exe (timeout = 3000) spawn -ignore SIGHUP /home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/xgcc -B/home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/ /home/pli/gcc/111/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c -march=rv64gcv -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output -mno-vector-strict-align -ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -lm -o ./vect-strided-a-u8-i2-gap.exe PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c (test for excess errors) spawn riscv64-unknown-linux-gnu-run ./vect-strided-a-u8-i2-gap.exe PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c execution test PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c scan-tree-dump-times vect "vectorized 2 loops" 1 Executing on host: /home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/xgcc -B/home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/ /home/pli/gcc/111/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c -march=rv64gcv -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output -flto -ffat-lto-objects -mno-vector-strict-align -ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -lm -o ./vect-strided-a-u8-i2-gap.exe (timeout = 3000) spawn -ignore SIGHUP /home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/xgcc -B/home/pli/gcc/111/riscv-gnu-toolchain/build-gcc-linux-stage2/gcc/ /home/pli/gcc/111/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c -march=rv64gcv -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output -flto -ffat-lto-objects -mno-vector-strict-align -ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -lm -o ./vect-strided-a-u8-i2-gap.exe PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c -flto -ffat-lto-objects (test for excess errors) spawn riscv64-unknown-linux-gnu-run ./vect-strided-a-u8-i2-gap.exe PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c -flto -ffat-lto-objects execution test PASS: gcc.dg/vect/vect-strided-a-u8-i2-gap.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 2 loops" 1 Pan -----Original Message----- From: Robin Dapp <rdapp....@gmail.com> Sent: Wednesday, July 9, 2025 3:10 PM To: Li, Pan2 <pan2...@intel.com>; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; rdapp....@gmail.com; Chen, Ken <ken.c...@intel.com>; Liu, Hongtao <hongtao....@intel.com>; Robin Dapp <rdapp....@gmail.com> Subject: Re: [PATCH v1 0/3] RISC-V: Combine vec_duplicate + vssub.vv to vssub.vx on GR2VR cost > This patch would like to introduce the combine of vec_dup + vssub.vv > into vssub.vx on the cost value of GR2VR. The late-combine will take > place if the cost of GR2VR is zero, or reject the combine if non-zero > like 1, 2, 15 in test. There will be two cases for the combine: Jeff has already pre-acked this so it's good to go. I'm seeing a few failures in the CI, though. Could you check if they're real? -- Regards Robin