]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [riscv] xfail ssa-dom-cse-2 on riscv64
authorAlexandre Oliva <oliva@adacore.com>
Thu, 3 Apr 2025 06:06:37 +0000 (03:06 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 3 Apr 2025 06:06:37 +0000 (03:06 -0300)
For the same reasons that affect alpha and other targets,
gcc.dg/tree-ssa/ssa-dom-cse-2.c fails to be optimized to the expected
return statement: the array initializer is vectorized into pairs, and
DOM cannot see through that.

Add riscv*-*-* to the list of affected lp64 platforms.  riscv32 is
not affected.

for  gcc/testsuite/ChangeLog

* gcc.dg/tree-ssa/ssa-dom-cse-2.c: XFAIL on riscv lp64.

gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c

index 5c89e3f869808a8dd9120934c8860f6f44816031..a879d3059714a3c077539b7d2cd81f573f788960 100644 (file)
@@ -27,4 +27,4 @@ foo ()
    but the loop reads only one element at a time, and DOM cannot resolve these.
    The same happens on powerpc depending on the SIMD support available.  */
 
-/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* nvptx*-*-* mmix-knuth-mmixware } || { { { lp64 && { powerpc*-*-* sparc*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* nvptx*-*-* mmix-knuth-mmixware } || { { { lp64 && { powerpc*-*-* sparc*-*-* riscv*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */