From d18296e844f35c529f338569622b85fc44d68b5f Mon Sep 17 00:00:00 2001 From: Juzhe-Zhong Date: Wed, 23 Aug 2023 09:19:15 +0800 Subject: [PATCH] RISC-V: Adapt live-1.c testcase Commited. Fix failures: FAIL: gcc.target/riscv/rvv/autovec/partial/live-1.c scan-tree-dump-times optimized ".VEC_EXTRACT" 10 FAIL: gcc.target/riscv/rvv/autovec/partial/live-1.c scan-tree-dump-times optimized ".VEC_EXTRACT" 10 gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/partial/live-1.c: Adapt test. --- gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c index 75fa2eba8cc..15ce74a0c4c 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=rv32gcv -mabi=ilp32d --param riscv-autovec-preference=scalable -fdump-tree-optimized-details" } */ +/* { dg-additional-options "-march=rv32gcv_zvfh -mabi=ilp32d -fno-vect-cost-model --param riscv-autovec-preference=scalable -fdump-tree-optimized-details" } */ #include @@ -31,4 +31,4 @@ TEST_ALL (EXTRACT_LAST) -/* { dg-final { scan-tree-dump-times "\.VEC_EXTRACT" 10 "optimized" } } */ +/* { dg-final { scan-tree-dump-times "\.VEC_EXTRACT" 11 "optimized" } } */