From patchwork Fri Nov 3 12:44:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 161272 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp1000036vqu; Fri, 3 Nov 2023 05:44:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsbKvW8jsrCtTUdHkK5Ljk/+YddIQXWXM/O7/tNj55frmYeHOYEaa45kzwHwTvbG3QmwAh X-Received: by 2002:a05:620a:2592:b0:77a:6dcc:79f9 with SMTP id x18-20020a05620a259200b0077a6dcc79f9mr1059707qko.22.1699015478883; Fri, 03 Nov 2023 05:44:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699015478; cv=pass; d=google.com; s=arc-20160816; b=Csy1nOzYXnbxfT2HussjJSMXqWcBZzkrstvbYtSbkOae9fFyl20gczwLWq1ouMzbum Y4KqT0KK6qJORcL65tlZynKPaVNWYOP7JIPlSDKGjhudIn80NQEUnk+oz5SBeraVSVHL OqBVn8SX+/J8CZ2IzxQDQv/Z9QaaNqEj4AOcctKqP9VKjxeD4Fyd9ct5amqUoUJSlE55 qae5k7k+GSUlE5fUbvYiTbpiF9FMyBxm7FzK1jM9ooKyEZj3vya9zk4OS5/WBcBv3zrs aFzveIUVWtVqmvPUiDAdL2bVkGx9JpMToH/by2gT1kPgHhWdgtLbDseOcfljNHIv4hOH Rq0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:mail-followup-to:to:from:arc-filter :dmarc-filter:delivered-to; bh=uyBjKIuDWNo8hYytUxVPb17XZvQN/29flddrBEeGnVE=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=MKpqZof9vVo5T9+56mQcuD0GLmhlLKwZMekDQK0SYucO5YBiakjuLPJmBl6FHQ241o oz1DFJ8ykN00Y3FmjDPnsqF8Iuj50W7/G1MwRMSR08utpFNkSdEbCpaxueppIQuJlYsx dnLIPlv4tDuE8qCFg0vVWyraYHY2UtLEX+KBYyB6nUItyXgGDwLI9RSWcLPz0OkbxvJA Ck0Ks43yee1gewcKmkYGWKir549zy4VTlzsb4TEhJtgd9JbPLImqr3/0epsMgLVOjj0R eRCLYI6rwLqPZ3oDcTL+cBSTWcTL8sketR3dsvUdrKEuQBfqiCD46V1Q9QqhebfRdGGA jeBg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id c26-20020a05620a269a00b0077a29577063si1456347qkp.110.2023.11.03.05.44.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:44:38 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A514C3858C2B for ; Fri, 3 Nov 2023 12:44:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id A24CE3858D28 for ; Fri, 3 Nov 2023 12:44:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A24CE3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A24CE3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699015455; cv=none; b=uYa9RXGXYry9zCeJq/FgOqYCA8iTzvoFbPnQl1cLtgHR0DFJqEJG3hH4houa8cwfozIsYfZkPuM3wQENcWFLO9XeUrnXjNTKlZT/t8fDLEwIz/momx/sNxkUlJw6lqMZrKgPVziZHnRdzv12N9xzE+ZeqkEHK8528Uo8goGyd5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699015455; c=relaxed/simple; bh=KO/6r4hw6MQd7EfUVfQ8LAefDXpBEwkCGMaTw6hzPgo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=R+9VLkYybLYnfYQnhj2jjI4Qk521v4eutqSEdNJPTQ82f+gB5oC6KPpX1OIogCxlhvYcCvYkG5yKDmgrduDWViN1zmoixc4Rs6dnOkKz53Kaql28yfzUoRmfSdejukRvOGdPor3Po9CQ+lEzAR40587Yld5OHrQX2x+7PBlBYFc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 00D4D2F4 for ; Fri, 3 Nov 2023 05:44:47 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.110.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DF8883F703 for ; Fri, 3 Nov 2023 05:44:04 -0700 (PDT) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com Subject: [pushed] aarch64: Remove unnecessary can_create_pseudo_p condition Date: Fri, 03 Nov 2023 12:44:03 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Spam-Status: No, score=-23.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781546854766428328 X-GMAIL-MSGID: 1781546854766428328 This patch removes a can_create_pseudo_p condition from *cmov_uxtw_insn_insv, bringing it in line with *cmov_insn_insv. The constraints correctly describe the requirements. Tested on aarch64-linux-gnu & pushed. Richard gcc/ * config/aarch64/aarch64.md (*cmov_uxtw_insn_insv): Remove can_create_pseudo_p condition. --- gcc/config/aarch64/aarch64.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 5bb8c772be8..bcf4bc8ccd4 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -4447,7 +4447,7 @@ (define_insn_and_split "*cmov_uxtw_insn_insv" (match_operator:SI 1 "aarch64_comparison_operator" [(match_operand 2 "cc_register" "") (const_int 0)])) (match_operand:SI 3 "general_operand" "r"))))] - "can_create_pseudo_p ()" + "" "#" "&& true" [(set (match_dup 0)