diff mbox series

RISC-V Regression: Fix FAIL of predcom-2.c

Message ID 20231010025835.3109227-1-juzhe.zhong@rivai.ai
State New
Headers show
Series RISC-V Regression: Fix FAIL of predcom-2.c | expand

Commit Message

钟居哲 Oct. 10, 2023, 2:58 a.m. UTC
Like GCN, add -fno-tree-vectorize.

gcc/testsuite/ChangeLog:

	* gcc.dg/tree-ssa/predcom-2.c: Add riscv.

---
 gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeff Law Oct. 10, 2023, 1:48 p.m. UTC | #1
On 10/9/23 20:58, Juzhe-Zhong wrote:
> Like GCN, add -fno-tree-vectorize.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.dg/tree-ssa/predcom-2.c: Add riscv.
OK.
jeff
Li, Pan2 Oct. 10, 2023, 2:02 p.m. UTC | #2
Committed, thanks Jeff.

Pan

-----Original Message-----
From: Jeff Law <jeffreyalaw@gmail.com> 
Sent: Tuesday, October 10, 2023 9:49 PM
To: Juzhe-Zhong <juzhe.zhong@rivai.ai>; gcc-patches@gcc.gnu.org
Cc: rguenther@suse.de
Subject: Re: [PATCH] RISC-V Regression: Fix FAIL of predcom-2.c



On 10/9/23 20:58, Juzhe-Zhong wrote:
> Like GCN, add -fno-tree-vectorize.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.dg/tree-ssa/predcom-2.c: Add riscv.
OK.
jeff
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c b/gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c
index f19edd4cd74..681ff7c696b 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details-blocks -fno-tree-pre" } */
-/* { dg-additional-options "-fno-tree-vectorize" { target amdgcn-*-* } } */
+/* { dg-additional-options "-fno-tree-vectorize" { target amdgcn-*-* riscv*-*-* } } */
 
 void abort (void);