https://gcc.gnu.org/g:50a747215e45783de4fd64e47d0851f07d3a44df

commit r16-93-g50a747215e45783de4fd64e47d0851f07d3a44df
Author: Tamar Christina <tamar.christ...@arm.com>
Date:   Wed Apr 23 08:07:23 2025 +0100

    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:
---
 gcc/testsuite/gcc.dg/vect/vect-early-break_38.c | 1 +
 1 file changed, 1 insertion(+)

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 36fc6a6eb60f..010e7ea7e327 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

Reply via email to