From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 1EE1F3858D33; Sun, 28 Apr 2024 07:42:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EE1F3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714290133; bh=SjFjTO/HlQD2IIg8C+bwFirqXHDDe7o63JSjFVppFIk=; h=From:To:Subject:Date:From; b=ZTj1fChoYjGtWlGjp8sl1XxagG82EDMB9wP0vR7imnmL9SxOQ3/2efpZXHetAnFY2 SG2ToLgOpED1zI4pDAaaqycsM95DxXzf9DKSRHjeOblm36xd19xHZ9S/GqKA5njX1a GQBkc2r2wIetv8ThnTU5fyImZzcskwv/iV0REi7Q= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc r15-18] disable ldist for test, to restore vectorizing-candidate loop X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/heads/master X-Git-Oldrev: 9929a683dae6d8d584acef38a8652f186492560f X-Git-Newrev: cc6a439fdab933963b00c488e221ae33d7199aeb Message-Id: <20240428074213.1EE1F3858D33@sourceware.org> Date: Sun, 28 Apr 2024 07:42:13 +0000 (GMT) List-Id: https://gcc.gnu.org/g:cc6a439fdab933963b00c488e221ae33d7199aeb commit r15-18-gcc6a439fdab933963b00c488e221ae33d7199aeb Author: Alexandre Oliva Date: Sun Apr 28 04:30:15 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"