rs6000/test: Adjust p9-vec-length-{full,epil}-7.c [PR103196]
authorKewen Lin <linkw@linux.ibm.com>
Mon, 11 Apr 2022 02:50:44 +0000 (21:50 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Mon, 11 Apr 2022 02:50:44 +0000 (21:50 -0500)
commit3ac111372ecb73cc2464ab27e3bad75dfe88a34b
tree037f2e8ba8b1e4dcaaeb2758a73956c25ddaaa19
parenta1950f5282d2c82fb180689023e234484ac9a61d
rs6000/test: Adjust p9-vec-length-{full,epil}-7.c [PR103196]

As PR103196 shows, complete unrolling pass still takes effect even
if we have specified the option "-fno-unroll-loops".  The loops in
that case are not expected to be transformed by it, otherwise the
expected counts change.  This patch is to add the disabling option
to make them not sensitive to complete unrolling.

PR testsuite/103196

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/p9-vec-length-epil-7.c: Add option
-fdisable-tree-cunroll.
* gcc.target/powerpc/p9-vec-length-full-7.c: Likewise.
gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-7.c
gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c