]> gcc.gnu.org Git - gcc.git/commitdiff
arm: Fix testism with mve/ivopts-3.c testcase
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 2 Aug 2024 15:39:34 +0000 (16:39 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 2 Aug 2024 15:39:34 +0000 (16:39 +0100)
This patch ensures this testcase is ran for armv8.1-m.main+mve as this is
testing that doloops with function calls that aren't intrinsics get rejected
as potential doloop targets during ivopts.  For other targets this loop gets
rejected for different reasons.

gcc/testsuite/ChangeLog:

* gcc.target/arm/mve/ivopts-3.c: Add require target and options.

gcc/testsuite/gcc.target/arm/mve/ivopts-3.c

index 19b2442ef12cbf13d51761ae93c7c81bb5bc07c4..08879424501ff770c8ed8c2939edc62ecb226569 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target arm_v8_1m_mve_ok } */
 /* { dg-options "-O2 -fdump-tree-ivopts-details" } */
+/* { dg-add-options arm_v8_1m_mve } */
 
 void f2 (void);
 
This page took 0.064225 seconds and 5 git commands to generate.