]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: vect-pr114375 vectorizes only with avx2 runtime
authorAlexandre Oliva <oliva@adacore.com>
Wed, 11 Feb 2026 00:36:37 +0000 (21:36 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 11 Feb 2026 00:36:37 +0000 (21:36 -0300)
This test compiles with -mavx2 only if avx2_runtime passes, and
without that option, it is not expected to vectorize.  Adjust the
effective target requirement for the dump pattern to match that of the
option.

for  gcc/testsuite/ChangeLog

PR tree-optimization/114375
* gcc.dg/vect/vect-pr114375.c: Adjust dump pattern requirement
to match that of options.

gcc/testsuite/gcc.dg/vect/vect-pr114375.c

index 61e9bf152d73ea22a49e8cf94b1a654a6b3ead2a..e3373b9692d4c106ccd24996aa9140cfc725378a 100644 (file)
@@ -43,4 +43,4 @@ int main()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target avx2 } } } */
+/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target avx2_runtime } } } */