Adjust testcase.
authorliuhongt <hongtao.liu@intel.com>
Tue, 17 Aug 2021 01:32:35 +0000 (09:32 +0800)
committerliuhongt <hongtao.liu@intel.com>
Tue, 17 Aug 2021 01:47:18 +0000 (09:47 +0800)
This testcase is used to detect reuse of perm mask in the main loop,
in epilog, vpermi2b can still be used, so add the option
--param=vect-epilogues-nomask=0.

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr82460-2.c: Adjust testcase by adding
--param=vect-epilogues-nomask=0

gcc/testsuite/gcc.target/i386/pr82460-2.c

index 4a45bee..8cdfb54 100644 (file)
@@ -1,6 +1,6 @@
 /* PR target/82460 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -mavx512vbmi -mprefer-vector-width=none" } */
+/* { dg-options "-O2 -ftree-vectorize -mavx512vbmi -mprefer-vector-width=none --param=vect-epilogues-nomask=0" } */
 /* We want to reuse the permutation mask in the loop, so use vpermt2b rather
    than vpermi2b.  */
 /* { dg-final { scan-assembler-not {\mvpermi2b\M} } } */