From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 3679C3858281; Wed, 15 Mar 2023 14:05:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3679C3858281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678889103; bh=uSi4jK3HADkonhHFf+QTW4wSEKDRSiuj8EH/QmCQgEU=; h=From:To:Subject:Date:From; b=vfOC4Orqx8ubRt1dNAPMtmxl5ft/WSZbLhNljtv92KGUlzMGDCEYJAwHTFxpVzyYa r1Fbd1GCZv5qNVpa7v2F/iHHjn9RiuCN4BNeWZ6mqC7KWmyg6sdsrTtysbLqfx1qsH fjfxqEeOGREFAiUqaBOZHDGTp4keb/z99MSEXlhY= 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: c1fd29eea906c3cdecdf5c70aed7dbde73b9e132 X-Git-Newrev: aeb8d2788eda5a0d8fc15df09b02c4b6e0cf4406 Message-Id: <20230315140503.3679C3858281@sourceware.org> Date: Wed, 15 Mar 2023 14:05:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:aeb8d2788eda5a0d8fc15df09b02c4b6e0cf4406 commit aeb8d2788eda5a0d8fc15df09b02c4b6e0cf4406 Author: Alexandre Oliva Date: Thu Mar 18 05:35:21 2021 -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"