]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Remove XFAIL of ssa-dom-cse-2.c
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 11 Oct 2023 03:25:07 +0000 (11:25 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Wed, 11 Oct 2023 08:12:44 +0000 (16:12 +0800)
Confirm RISC-V is able to CSE this case no matter whether we enable RVV or not.

Remove XFAIL,  to fix:
XPASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;"

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Remove riscv.

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

index a879d3059714a3c077539b7d2cd81f573f788960..5c89e3f869808a8dd9120934c8860f6f44816031 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*-*-* riscv*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* nvptx*-*-* mmix-knuth-mmixware } || { { { lp64 && { powerpc*-*-* sparc*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */