https://gcc.gnu.org/g:b7b1aeea684a8191d1503b4022cea8d0d218ca65
commit r14-11619-gb7b1aeea684a8191d1503b4022cea8d0d218ca65 Author: Alexandre Oliva <ol...@adacore.com> Date: Wed Apr 16 01:10:53 2025 -0300 RISC-V: adjust testcase for gcc-14 [PR118182] The pr118182-2.c testcase backported from gcc-15 depended on the late combine pass after register allocation to substitute the zero constant into the pred_broadcast to get to the expected vmv.s.x instruction. Without that pass, we get a mfmv.s.f instead. Expect that on gcc-14. for gcc/testsuite/ChangeLog PR target/118182 * gcc.target/riscv/rvv/autovec/pr118182-2.c: Adjust. Diff: --- gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c index 619d757a14fa..0e334f599151 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c @@ -9,7 +9,7 @@ ** ... ** vsetvli [ast][0-9]+,zero,.* ** ... -** vmv.s.x .* +** vfmv.s.f .* ** ... ** vfredusum.vs .* ** ...