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