From: Andre Vieira Date: Fri, 2 Aug 2024 15:39:34 +0000 (+0100) Subject: arm: Fix testism with mve/ivopts-3.c testcase X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=995ac87a053c22364bcdc0bc041fd6e5b3087bc5;p=gcc.git arm: Fix testism with mve/ivopts-3.c testcase 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. --- diff --git a/gcc/testsuite/gcc.target/arm/mve/ivopts-3.c b/gcc/testsuite/gcc.target/arm/mve/ivopts-3.c index 19b2442ef12c..08879424501f 100644 --- a/gcc/testsuite/gcc.target/arm/mve/ivopts-3.c +++ b/gcc/testsuite/gcc.target/arm/mve/ivopts-3.c @@ -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);