From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id E8FFB3858288; Thu, 30 Mar 2023 14:06:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8FFB3858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680185205; bh=NW85YnzHlUukgXWHonbL0ZuCXOfdsy9u6U9eDgnqV2o=; h=From:To:Subject:Date:From; b=ZDRfWd3Gb0YmAAuyzANMBi+XvuN7f6JJDw3BmoqrJG5Q/nIt3oqXgNUz7D6Nlb9mJ jd7zXsOXnhFfjC3+clI4POeR2YyVHjZ0CRom9UiIwtq07f/6JUjPxsI19kOjDFHpRR vkJ/tLF3ZmassZ2xUqX2zit+enhK7FcldecI0eGo= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] disable ldist for test, to restore vectorizing-candidate loop X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 7626a14c5ba7222eda222511c2bdf5a95385a76a X-Git-Newrev: aa5af019f009dd9b745fc766b76d3962bf865674 Message-Id: <20230330140645.E8FFB3858288@sourceware.org> Date: Thu, 30 Mar 2023 14:06:45 +0000 (GMT) List-Id: https://gcc.gnu.org/g:aa5af019f009dd9b745fc766b76d3962bf865674 commit aa5af019f009dd9b745fc766b76d3962bf865674 Author: Alexandre Oliva Date: Thu Mar 30 05:06:38 2023 -0300 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. Diff: --- gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 + 1 file changed, 1 insertion(+) 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 c57f065cccd..bb206ffd972 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 #include "../../tree-vect.h"