]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Amend gcc.dg/vect/fast-math-vect-call-2.c
authorRichard Biener <rguenther@suse.de>
Mon, 9 Sep 2024 07:41:36 +0000 (09:41 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 9 Sep 2024 07:43:44 +0000 (09:43 +0200)
There was a reported regression on x86-64 with -march=cascadelake
and -m32 where epilogue vectorization causes a different number of
SLPed loops.  Fixed by disabling epilogue vectorization for the
testcase.

* gcc.dg/vect/fast-math-vect-call-2.c: Disable epilogue
vectorization.

gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c

index ed42a21cedc16adc4b3e92b0dc24bfaedc6a9a00..e52ffe435d33b0b37e5272e28ff4a182487c3e10 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_double } */
+/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 
 #include "tree-vect.h"