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.
---
 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 4aa5f19a650..86b04dbbb33 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 7bceccd37d4..14838ab8bff 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
-- 
2.34.1

Reply via email to