From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 1FB963858403; Mon, 22 Apr 2024 06:56:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FB963858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713769006; bh=i5vLvhDjCBqKzX0CNOVHeuNBgwuarzIRiFhnswNyPXM=; h=From:To:Subject:Date:From; b=yVpatR7ezKjRRA6lq7EeZrPZJrF45f9wlvzsr3uitBwmkcu6SOlhOaFc1DuhuARwV c+wqSqUGL/hQBZeT+ivX9KM5osiceLhrmKp/KXAOZ7l3AjpGN3yz7si2pGuBs/y1H0 ErXnyJlxRdlRdHF0ZJgFp85VX95HLWQbQWbWikxw= 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: 6996207325751e10e468d03c9fe492f2ad5161f2 X-Git-Newrev: 5b0e0d473bcd6a06a4dc4876890477a9d30582d8 Message-Id: <20240422065646.1FB963858403@sourceware.org> Date: Mon, 22 Apr 2024 06:56:46 +0000 (GMT) List-Id: https://gcc.gnu.org/g:5b0e0d473bcd6a06a4dc4876890477a9d30582d8 commit 5b0e0d473bcd6a06a4dc4876890477a9d30582d8 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"