From: Alexandre Oliva Date: Wed, 16 Apr 2025 04:10:53 +0000 (-0300) Subject: RISC-V: adjust testcase for gcc-14 [PR118182] X-Git-Tag: releases/gcc-14.3.0~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b1aeea684a8191d1503b4022cea8d0d218ca65;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c index 619d757a14f..0e334f59915 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 .* ** ...