]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [riscv] xfail some [PR113281] tests
authorAlexandre Oliva <oliva@adacore.com>
Thu, 3 Apr 2025 06:06:44 +0000 (03:06 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 3 Apr 2025 06:06:44 +0000 (03:06 -0300)
Some of the tests regressed with a fix for the vectorization of
shifts.  The riscv cost models need to be adjusted to avoid the
unprofitable optimization.  The failure of these tests has been known
since 2024-03-13, without a forthcoming fix, so I suggest we consider
it expected by now.  Adjust the tests to reflect that expectation.

for  gcc/testsuite/ChangeLog

PR tree-optimization/113281
* gcc.dg/vect/costmodel/riscv/rvv/pr113281-1.c: XFAIL.
* gcc.dg/vect/costmodel/riscv/rvv/pr113281-2.c: Likewise.
* gcc.dg/vect/costmodel/riscv/rvv/pr113281-5.c: Likewise.

gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113281-1.c
gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113281-2.c
gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113281-5.c

index fdf6ed0334b7aa6917c6edfa0478faed012f01d4..683533fe95628c754c392b0d1f1df3e529c2127c 100644 (file)
@@ -15,4 +15,4 @@ int main() {
     return 1;
 }
 
-/* { dg-final { scan-assembler-not {vset} } } */
+/* { dg-final { scan-assembler-not {vset} { xfail *-*-* } } } */
index acc70810b4b28e6740b6e3512a042666c7f800db..94435d332bd7dcc14adda431dd37dfff448cefe0 100644 (file)
@@ -15,4 +15,4 @@ int main() {
     return 1;
 }
 
-/* { dg-final { scan-assembler-not {vset} } } */
+/* { dg-final { scan-assembler-not {vset} { xfail *-*-* } } } */
index 0163129be1877fbacc24f80ed5aaa5df6cc502dd..415c4bdd137c77d9c3b174e9ce998b57ce6fb2d9 100644 (file)
@@ -15,4 +15,4 @@ int main() {
     return 1;
 }
 
-/* { dg-final { scan-assembler-not {vset} } } */
+/* { dg-final { scan-assembler-not {vset} { xfail *-*-* } } } */