]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite: Fix l{a}sx-andn-iorn.c.
authorLulu Cheng <chenglulu@loongson.cn>
Tue, 26 Nov 2024 08:04:24 +0000 (16:04 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Sat, 30 Nov 2024 08:29:34 +0000 (16:29 +0800)
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
gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c

index 4aa5f19a650e51bd9e73413778c9369752ec17cc..86b04dbbb335aab3695818ba11d2dfb749b2b546 100644 (file)
@@ -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.  */
 
index 7bceccd37d473f22bd3d19ab1608a171aeeded8b..14838ab8bff011047d52ab219592aec8adfa40be 100644 (file)
@@ -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