]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: adjust testcase for gcc-14 [PR118182]
authorAlexandre Oliva <oliva@adacore.com>
Wed, 16 Apr 2025 04:10:53 +0000 (01:10 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 16 Apr 2025 04:10:53 +0000 (01:10 -0300)
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.

gcc/testsuite/gcc.target/riscv/rvv/autovec/pr118182-2.c

index 619d757a14fa74bf74df9b9840bcfb5b877803eb..0e334f5991510daaf11b6bad41bb29bf0ce55a8d 100644 (file)
@@ -9,7 +9,7 @@
 **   ...
 **   vsetvli   [ast][0-9]+,zero,.*
 **   ...
-**   vmv.s.x   .*
+**   vfmv.s.f  .*
 **   ...
 **   vfredusum.vs      .*
 **   ...