Skip to content

Commit

Permalink
RISC-V: Adapt live-1.c testcase
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zhongjuzhe authored and Incarnation-p-lee committed Aug 23, 2023
1 parent 6cd8527 commit d18296e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/live-1.c
Original file line number Diff line number Diff line change
@@ -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 <stdint-gcc.h>

Expand Down Expand Up @@ -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" } } */

0 comments on commit d18296e

Please sign in to comment.