]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Enhance a testcase
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Fri, 12 Jan 2024 07:40:35 +0000 (15:40 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 12 Jan 2024 07:42:48 +0000 (15:42 +0800)
This test should pass no matter how we adjust cost model.

Remove -fno-vect-cost-model.

Committed.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/fold-min-poly.c: Remove -fno-vect-cost-model

gcc/testsuite/gcc.target/riscv/rvv/autovec/fold-min-poly.c

index de4c472c76e99483d5267429493b39a8e856ecf8..3f524dba86873570709904d52dbcf1f776529354 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options " -march=rv64gcv_zvl128b -mabi=lp64d -O3 --param riscv-autovec-preference=scalable --param riscv-autovec-lmul=m1 -fno-vect-cost-model" } */
+/* { dg-options " -march=rv64gcv_zvl128b -mabi=lp64d -O3 --param riscv-autovec-preference=scalable --param riscv-autovec-lmul=m1" } */
 
 void foo1 (int* restrict a, int* restrict b, int n)
 {