From patchwork Fri Oct 18 22:14:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prathamesh Kulkarni X-Patchwork-Id: 176973 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp226160ill; Fri, 18 Oct 2019 15:15:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyi/3bHbev2mbTMNUCeYhbyBQY/uGrajI/SWWCXFA448sQc4PryB68UYuFRdvE5m21so9Di X-Received: by 2002:a17:906:4a8d:: with SMTP id x13mr10679997eju.317.1571436913206; Fri, 18 Oct 2019 15:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571436913; cv=none; d=google.com; s=arc-20160816; b=xYFbPygWjDXLdAARtnEBF5kl1gkJjhXnM0kEzeb2TKFCp6FRV7+jRUsv9BZ73x9TGQ e3s1QvqkeUZ+kMkCm7yt9otwV8wPFOKZxTuha9Fyr2kb5SMFGb3GXu75Fq+3hsc4eOZ+ 7ixRQFLyzm363omZShAODWeJ2oiBIEw+7B3ko6GleQQWTP24aAvli7QVe/hT0npdbAWH fA0k42PybFULQD3YO5hVRdp5YfyxIh8zPkv4VPvpjcEVKso3X/RGAA/WYtPP16eM6qx1 UHh71titKNH0Wll9U0LNmEBxlx0qCl7nMkIL3x8EBMhs4N+SD11Cs5qLHUN5SBhxlbYl GEvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature :delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=I2h6qlTU0mb2BTjFJx/xtF2J80s96q+QeLJKGmfGKTs=; b=qycwgTlSkcAIruvmmBFV1M6dnN/OxY38Ua/ZxHGydmlGGE9uF/uwxpCDjBwzDQK/Ew AD7mFpYT0cCRqup8aLGr/pzIrmkymWJ4YqNoqvZH3w2nWZPcjMpQSi/cn7cvg8wo2PB0 iPMBAPskVnjCyLowHD8lOavgvG8eL35R7W1cQz3m3HR38tV2ej8nhd+Os2GYV7NsCSy+ 0DyMAVqO0EjWeyrMgKjCWcXSDSSHDqQhTQ8zFwRv3AeVmvkiu615JnaTGiYI067W/AeZ Th3irqoZkECVR42jfrYg20nTgxcqnpqTWw6T7vBruWTdeMHHMI18JsSxv3QFQ4FAxZQm /G2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=bdF35CVr; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=uyi8VhqC; spf=pass (google.com: domain of gcc-patches-return-511339-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-511339-patch=linaro.org@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id j14si4001042ejf.53.2019.10.18.15.15.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2019 15:15:13 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-511339-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=bdF35CVr; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=uyi8VhqC; spf=pass (google.com: domain of gcc-patches-return-511339-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-511339-patch=linaro.org@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=BmOxJIcASM17Ae9fxYkgfMR8opXfgjea6qCkz0o6IH1Nvh R8eZ6y4Aa+eTGDzWGY5u3+PrfE7zJ+/TjuJYZ4fSIfto2VpyBJR6267lGPYCVuwQ kht1AV5e8jdB/oqCARhJEatr3xbIrAps2SGhiKKFmWIN+GuSEVtI32oQHMt5c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=GvcYF8eIRzBxBB+oOkJ/0O/nAXY=; b=bdF35CVrkNil8KNcgQfI iEH1OxLue2GKoz2HU4gTekGTrt9RJUqJztaafPnpbE83Bfj+hz8vnm8ij4nFpwgb RTDD77eJz5YrbB2KSRU0dDMqgozSlHC9qMQ40my3V17PStdmBGu/rzWD1ncH4kOI atRQEIwfkFvWI3mycsCh+8A= Received: (qmail 76737 invoked by alias); 18 Oct 2019 22:15:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 76728 invoked by uid 89); 18 Oct 2019 22:15:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-lj1-f171.google.com Received: from mail-lj1-f171.google.com (HELO mail-lj1-f171.google.com) (209.85.208.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Oct 2019 22:14:59 +0000 Received: by mail-lj1-f171.google.com with SMTP id y3so7690024ljj.6 for ; Fri, 18 Oct 2019 15:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=bBsI25o5qBR3mkRgRJMiBeeaK22TgE/oRqnctwfYKdo=; b=uyi8VhqC7VIbflO+qRRwsO31GC/JllMh8oBuYb0h9XyBz6xzlRRCFuSXvBNxzWzb8b mcGJzT1b8AW2VJZN9rROI+K612zAxpMyKjhmAt65AaYBFR8Hdb5Agl0Gc7Rg2Q7VJVQG 7+CDAE6JxM4FnaA8LOiNPynpXGITo8Xo5IQNLi5ETl+NdbvtPR83Yk5+PJuXyE/2DFXA CdEOxU9TTQh8wRB+xEwApPscjNCs9PUd2EVprYuCiI/f1HjBvJZI7cjxUIhfA2xoxa28 qFGusaLwipSS+8+ev5bwcS+fRi1WeEQa5ZntrsvRoDR2DMMoWbHUIu7F7ybgJl6ZGRhn tOLg== MIME-Version: 1.0 From: Prathamesh Kulkarni Date: Sat, 19 Oct 2019 03:44:20 +0530 Message-ID: Subject: [testsuite] Add test for PR91532 To: gcc Patches , Richard Sandiford X-IsSubscribed: yes Hi Richard, Sorry for not adding the test in PR91532 fix. Is the attached patch OK to commit ? Thanks, Prathamesh 2019-10-18 Prathamesh Kulkarni PR tree-optimization/91532 testsuite/ * gcc.target/aarch64/sve/fmla_2.c: Add dg-scan check for deleted store. diff --git a/gcc/testsuite/gcc.target/aarch64/sve/fmla_2.c b/gcc/testsuite/gcc.target/aarch64/sve/fmla_2.c index 5c04bcdb3f5..bebb073d1f8 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/fmla_2.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/fmla_2.c @@ -1,4 +1,4 @@ -/* { dg-options "-O3" } */ +/* { dg-options "-O3 -fdump-tree-ifcvt-details" } */ #include @@ -15,5 +15,6 @@ f (double *restrict a, double *restrict b, double *restrict c, } } +/* { dg-final { scan-tree-dump-times "Deleted dead store" 1 "ifcvt" } } */ /* { dg-final { scan-assembler-times {\tfmla\tz[0-9]+\.d, p[0-7]/m, z[0-9]+\.d, z[0-9]+\.d\n} 2 } } */ /* { dg-final { scan-assembler-not {\tfmad\t} } } */