From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 639DE3858D38; Mon, 22 Apr 2024 05:13:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 639DE3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713762789; bh=Ur4hCYNM+5/R47osdGEIeHKBLHyMc8zZYZuuihZOnsI=; h=From:To:Subject:Date:From; b=vSdFHnV0gLLmB/Z0zJgsXc8OOeIh8XQ8UmpUoiv85nuzKKwZNGJC+THX3DZdM/Zw+ BJQuF1/GLkB9QZ4BnjiLoE77sLytJ7yFZQn8q4UWEamqVJ1XsMp9N60iehKzXYeWWe 6dZZ+3kGMvhvjUzcybl60iJGdcT5RMu5OnmH/1V8= 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: f605eecb06d40c99be2d48169c5fafda2df6babb X-Git-Newrev: 7ef3c86bc8ac48a834a787aad1809e623def6b64 Message-Id: <20240422051309.639DE3858D38@sourceware.org> Date: Mon, 22 Apr 2024 05:13:09 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7ef3c86bc8ac48a834a787aad1809e623def6b64 commit 7ef3c86bc8ac48a834a787aad1809e623def6b64 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"