testsuite: Adjust pr96789.c by disabling loop vect
authorKewen Lin <linkw@linux.ibm.com>
Thu, 12 Nov 2020 03:18:23 +0000 (21:18 -0600)
committerKewen Lin <linkw@linux.ibm.com>
Thu, 12 Nov 2020 03:25:08 +0000 (21:25 -0600)
commitd33bc98f5bc65f2505fcaefb0f9055ec67fe36d2
treecabb44c1fe1334dc44320f46592b72c1a9137f5c
parent8069928d5c2a99973ac16a49d6c25bc4dc886e14
testsuite: Adjust pr96789.c by disabling loop vect

New test gcc.dg/tree-ssa/pr96789.c fails on
arm-none-linux-gnueabihf since loop vectorizer is able to optimize
the two loops which operate on array tmp with load_lanes feature
support, it make dse3 fail to find expected inputs.

As Richard suggested, this patch is to replace option
-ftree-vectorize to -ftree-slp-vectorize -fno-tree-loop-vectorize.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr96789.c: Adjusted by disabling loop
vectorization.
gcc/testsuite/gcc.dg/tree-ssa/pr96789.c