]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Robostify testcase pr113112-1.c
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Fri, 29 Dec 2023 01:39:36 +0000 (09:39 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 29 Dec 2023 01:41:16 +0000 (09:41 +0800)
The redudant dump check is fragile and easily changed, not necessary.

Tested on both RV32/RV64 no regression.

Remove it and committed.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c: Remove redundant checks.

gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c

index 95df7809d49d6a0ae60485fe20b17c0ecb855c50..2dc39ad8e8bb61df46b9af087895fa1b8a520945 100644 (file)
@@ -24,6 +24,3 @@ foo (int n){
 /* { dg-final { scan-assembler-not {jr} } } */
 /* { dg-final { scan-assembler-times {ret} 1 } } */
 /* { dg-final { scan-tree-dump-times "Preferring smaller LMUL loop because it has unexpected spills" 1 "vect" } } */
-/* { dg-final { scan-tree-dump "At most 8 number of live V_REG at program point 1 for bb 4" "vect" } } */
-/* { dg-final { scan-tree-dump "At most 40 number of live V_REG at program point 1 for bb 3" "vect" } } */
-/* { dg-final { scan-tree-dump "At most 8 number of live V_REG at program point 1 for bb 5" "vect" } } */