From: Tamar Christina Date: Wed, 23 Apr 2025 07:07:23 +0000 (+0100) Subject: testsuite: AMDGCN test for vect-early-break_38.c as well to consistent architecture... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50a747215e45783de4fd64e47d0851f07d3a44df;p=thirdparty%2Fgcc.git testsuite: AMDGCN test for vect-early-break_38.c as well to consistent architecture [PR119286] I had missed this one during the AMDGCN test failures. Like vect-early-break_18.c this test is also scalaring the loads and thus leading to unexpected vectorization for this testcase. gcc/testsuite/ChangeLog: PR target/119286 * gcc.dg/vect/vect-early-break_38.c: Force -march=gfx908 for amdgcn. --- diff --git a/gcc/testsuite/gcc.dg/vect/vect-early-break_38.c b/gcc/testsuite/gcc.dg/vect/vect-early-break_38.c index 36fc6a6eb60..010e7ea7e32 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-early-break_38.c +++ b/gcc/testsuite/gcc.dg/vect/vect-early-break_38.c @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_early_break } */ /* { dg-require-effective-target vect_int } */ +/* { dg-additional-options "-march=gfx908" { target amdgcn*-*-* } } */ #ifndef N #define N 803