From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id C8A1E3858C66; Sun, 21 Apr 2024 20:27:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8A1E3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713731260; bh=03PI/HUT95niwQ6MCfcjdnFdp/nV8tHHIMpqhjx2qMg=; h=From:To:Subject:Date:From; b=MNzIBVpSRJwWYhjqJUnlAsN8RRohe7fFUOiSJjHSXLuFBF3FAUud8aN6lO9Yz4W87 Bt5DMbehkPtZE353TrtPuolHwAtWPuaFBl7M/8HIdiBKm+OnhJVQBIoTYoQx2OG/mU kPWqnd2s5skMV3nROzo2H46HicGdV+sZ5QhmIADI= 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: 0e8ef1e608028e5812900b717406d1901d98d4cf X-Git-Newrev: 8e6d1811a6aae7902225fb37a97214c3a2fed32b Message-Id: <20240421202740.C8A1E3858C66@sourceware.org> Date: Sun, 21 Apr 2024 20:27:40 +0000 (GMT) List-Id: https://gcc.gnu.org/g:8e6d1811a6aae7902225fb37a97214c3a2fed32b commit 8e6d1811a6aae7902225fb37a97214c3a2fed32b Author: Alexandre Oliva Date: Sun Apr 21 17:24:14 2024 -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 454a714a309..90b5d5a7f40 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"