disable ldist for test, to restore vectorizing-candidate loop
commitcc6a439fdab933963b00c488e221ae33d7199aeb
authorAlexandre Oliva <oliva@adacore.com>
Sun, 28 Apr 2024 07:30:15 +0000 (28 04:30 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sun, 28 Apr 2024 07:30:15 +0000 (28 04:30 -0300)
tree446cc7ab7e20a78d08d29a4ab0985d3b60ff3d6b
parent9929a683dae6d8d584acef38a8652f186492560f
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.
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c