From patchwork Mon May 3 14:55:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1473236 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=i2LZvb04; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FYmHy4p88z9sPf for ; Tue, 4 May 2021 00:55:58 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8D8AD39518B5; Mon, 3 May 2021 14:55:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D8AD39518B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1620053755; bh=MMwYawacb1H1ehhoPQFMSyTqh+F8p3c5yJgBAqNaZvs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=i2LZvb04H+pH1ak1DCrATs3UfBR+phEhskM4rkoX0SwBfiIdcoc6aCEsHtgPsIkux 32Otd1zocwDQL2X+89MU86IpXTgUUDSZdTCN6PWJkyALxWzESJ9dGBYkyVPU6JeVvA rqcxWAKMDARKyYr9Z4LmPqXoNZZv+ZvOn4thIhAE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id 72667393BC01 for ; Mon, 3 May 2021 14:55:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 72667393BC01 Received: by mail-pj1-x1029.google.com with SMTP id gc22-20020a17090b3116b02901558435aec1so3498540pjb.4 for ; Mon, 03 May 2021 07:55:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=MMwYawacb1H1ehhoPQFMSyTqh+F8p3c5yJgBAqNaZvs=; b=HJllDD062GyLKdGZjcwzuSwad8LzcNr8dYbgh9q7KMe42u+6uf/Qwc8egZFSL+LVD0 Omv9ptI00D2zV9WMWIXzCjDetHux0pkjM5HH6G7rylTEYk7CSkL80eBcgaSCBpY2UxI2 EOWoQNqr6vMZs/0V08k77utcKITzUT1hIoa6o+x0jRc4+pdKsSHZF/KMEjjPlZ2Gfjz6 dF/gBRa8s15sc8jQO4d62RTV7PXPH0QjigxB/sP3VheCHCG+mXJagq70iGdjnakcWaq+ 0H/TZ6d12XxIyh6TkXpXqs9WAYwJIwa78q8qLLCBTHLnqD7NUWtetHqqixJ2XvrnzGWH PYQg== X-Gm-Message-State: AOAM532Wr1hIQeNZ20/KGYhuVgqJu9H5PiK+BbCndjBGtQdCh4cQYWuM rxpC11iPcHytf0OTCO0lxeRg25FH2+ioLw== X-Google-Smtp-Source: ABdhPJxee0PwGuSVNGgZh1KTryhu36rNb5/q7M9OJj1DqkW8QdZPzz3sFegLsNsBHEjYuKT/bI3seA== X-Received: by 2002:a17:902:9a08:b029:ec:bef1:4ea1 with SMTP id v8-20020a1709029a08b02900ecbef14ea1mr20808400plp.78.1620053751049; Mon, 03 May 2021 07:55:51 -0700 (PDT) Received: from [192.168.1.2] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id q23sm10043923pgt.42.2021.05.03.07.55.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 May 2021 07:55:50 -0700 (PDT) To: GCC Patches Subject: Minor testsuite fix for cr16 and xstormy16 targets Message-ID: <64182845-0084-3d2d-61ef-463eaf46b4ac@gmail.com> Date: Mon, 3 May 2021 08:55:49 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jeff Law via Gcc-patches From: Jeff Law Reply-To: Jeff Law Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Richi's recent work twiddles dse1's actions for these targets. This patch just updates the expected output.  I'll keep an eye on other targets as their results trickle in. Committed to the trunk, Jeff commit 4d8a13cad842e7822fa29d0aa93799033a0f7847 Author: Jeff Law Date: Mon May 3 07:50:22 2021 -0700 Fix test results on cr16 and xstormy16 gcc/testsuite * gcc.dg/tree-ssa/ssa-dse-26.c: Update expected output for cr16 and xstormy16 targets diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c index 271e666f265..1321fec308e 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c @@ -31,8 +31,8 @@ constraint_equal (struct constraint a, struct constraint b) } /* Most targets should be using this test. */ -/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware } } } } } */ -/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware } } } } } */ +/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware cr16*-*-* xstormy16-*-*-* } } } } } */ +/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware cr16*-*-* xstormy16-*-*-* } } } } } */ /* The c6x port generates significantly different gimple which changes the SRA and DSE decisions. Verify we remove all @@ -42,3 +42,6 @@ constraint_equal (struct constraint a, struct constraint b) /* { dg-final { scan-tree-dump-times "Deleted dead store: x::. = " 1 "dse1" { target mmix-knuth-mmixware } } } */ /* { dg-final { scan-tree-dump-times "Deleted dead store: y::. = " 1 "dse1" { target mmix-knuth-mmixware } } } */ +/* And more special cases +/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 2 "dse1" { target cr16*-*-* xstormy16-*-*-*} } } */ +/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 2 "dse1" { target cr16*-*-* xstormy16-*-*-*} } } */