https://gcc.gnu.org/g:4ad1c87ad25b3fb01caa731927b7b26357acf7b4

commit r15-5818-g4ad1c87ad25b3fb01caa731927b7b26357acf7b4
Author: Lulu Cheng <chengl...@loongson.cn>
Date:   Tue Nov 26 16:04:24 2024 +0800

    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.

Diff:
---
 gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c | 2 +-
 gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c  | 2 +-
 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 4aa5f19a650e..86b04dbbb335 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 7bceccd37d47..14838ab8bff0 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

Reply via email to