aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2024-11-26 16:04:24 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-11-30 16:29:34 +0800
commit4ad1c87ad25b3fb01caa731927b7b26357acf7b4 (patch)
treea5fb20ca5cfe3ac0d91304a024f6b7cf18617b11 /gcc
parent4f650ef8d56ca61ed4d0df9bdcd810b6a2e808df (diff)
downloadgcc-4ad1c87ad25b3fb01caa731927b7b26357acf7b4.zip
gcc-4ad1c87ad25b3fb01caa731927b7b26357acf7b4.tar.gz
gcc-4ad1c87ad25b3fb01caa731927b7b26357acf7b4.tar.bz2
LoongArch: testsuite: Fix l{a}sx-andn-iorn.c.
Add '-fdump-tree-optimized' to this testcases. gcc/testsuite/ChangeLog: * gcc.target/loongarch/lasx-andn-iorn.c: Add '-fdump-tree-optimized'. * gcc.target/loongarch/lsx-andn-iorn.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c2
-rw-r--r--gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c b/gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c
index 4aa5f19..86b04db 100644
--- a/gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c
+++ b/gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c
@@ -3,7 +3,7 @@
#include "./lsx-andn-iorn.c"
/* { dg-do compile } */
-/* { dg-options "-O2 -mlasx -ftree-vectorize" } */
+/* { dg-options "-O2 -mlasx -ftree-vectorize -fdump-tree-optimized" } */
/* We should produce a BIT_ANDC and BIT_IORC here. */
diff --git a/gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c b/gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c
index 7bceccd..14838ab 100644
--- a/gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c
+++ b/gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -mlsx -ftree-vectorize" } */
+/* { dg-options "-O2 -mlsx -ftree-vectorize -fdump-tree-optimized" } */
#ifndef N
#define N 4