diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-04-28 04:30:15 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-04-28 04:30:15 -0300 |
commit | cc6a439fdab933963b00c488e221ae33d7199aeb (patch) | |
tree | 446cc7ab7e20a78d08d29a4ab0985d3b60ff3d6b | |
parent | 9929a683dae6d8d584acef38a8652f186492560f (diff) | |
download | gcc-cc6a439fdab933963b00c488e221ae33d7199aeb.zip gcc-cc6a439fdab933963b00c488e221ae33d7199aeb.tar.gz gcc-cc6a439fdab933963b00c488e221ae33d7199aeb.tar.bz2 |
disable ldist for test, to restore vectorizing-candidate loop
The loop we're supposed to try to vectorize in
gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c is turned into a memset
before the vectorizer runs.
Various other tests in this set have already run into this, and the
solution has been to disable this loop distribution transformation,
enabled at -O2, so that the vectorizer gets a chance to transform the
loop and, in this testcase, fail to do so.
for gcc/testsuite/ChangeLog
* gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Disable
ldist.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c index 454a714..90b5d5a 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-additional-options "-fno-tree-loop-distribute-patterns" } */ #include <stdarg.h> #include "../../tree-vect.h" |