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: 1179709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511339-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="aNGEGB8F"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="uyi8VhqC"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46w0hZ4qZgz9sSH for ; Sat, 19 Oct 2019 09:15:08 +1100 (AEDT) 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=o8xK0dnxYj1dHtAliFSjw8w+fWfYN4OUpbEekj+ii8tKdf t6d0i0Yxs2C/o4N3DMlCw5iO33W6FtAzZhb/0BT/VQ2W2dBCUYWNBlKMyxlaGJTI 3obDzYNwjw30am6OefE2QN03dx9LPFgXGBKDLAaHo7sX1FSkuWg0G4t6llTAc= 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=aNGEGB8FuiZDBW1om9fC mHyOcuwXaabtduzCXR3oQtHVUPh1Uo+q+VxaF8INbWTB/iEJXzUH6nAJKlezToM3 ypyo83sv4R36P72rlInXXa17rBTzr/t3zNtlWvG55oR6k+uElWhDfEaNuRsfPYl+ vu7xCbu/J1mhysFKfs29lTQ= 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} } } */