]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: AMDGCN test for vect-early-break_38.c as well to consistent architecture...
authorTamar Christina <tamar.christina@arm.com>
Wed, 23 Apr 2025 07:07:23 +0000 (08:07 +0100)
committerTamar Christina <tamar.christina@arm.com>
Wed, 23 Apr 2025 07:08:20 +0000 (08:08 +0100)
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.

gcc/testsuite/gcc.dg/vect/vect-early-break_38.c

index 36fc6a6eb60fae70f8f05a3d9435f5adce025847..010e7ea7e327f4bb0e33560e24dd3e6c5462d659 100644 (file)
@@ -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