Message ID | ZSe/UjWPIHPPUGyw@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=gFYR2ab4; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=gFYR2ab4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S5l6K3pVFz23jX for <incoming@patchwork.ozlabs.org>; Thu, 12 Oct 2023 20:42:17 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 790943858017 for <incoming@patchwork.ozlabs.org>; Thu, 12 Oct 2023 09:42:15 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2072.outbound.protection.outlook.com [40.107.8.72]) by sourceware.org (Postfix) with ESMTPS id 8B3B73858CDA for <gcc-patches@gcc.gnu.org>; Thu, 12 Oct 2023 09:41:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B3B73858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y7eTxBAaqLj/2hyfPsLcbG0bW+QIqEqUFW2zxruFw1c=; b=gFYR2ab4OfDFJk3o0sQiXxa7MUtsHagZ/gJyX36EaGcLnz2PppNS0JxVXl5kGZrW420lshAeHunFy57tN2WTHGUx69DCer7P3xto7PELeQaz91OoPhh+PbVTE2qjj9HO6ZFZEiqi7DljTu3KcGIqjOi9xMefTNN9rDB4wsnkJlw= Received: from DU2PR04CA0156.eurprd04.prod.outlook.com (2603:10a6:10:2b0::11) by DB5PR08MB10094.eurprd08.prod.outlook.com (2603:10a6:10:4a2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.37; Thu, 12 Oct 2023 09:41:49 +0000 Received: from DBAEUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2b0:cafe::30) by DU2PR04CA0156.outlook.office365.com (2603:10a6:10:2b0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.30 via Frontend Transport; Thu, 12 Oct 2023 09:41:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT020.mail.protection.outlook.com (100.127.143.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.20 via Frontend Transport; Thu, 12 Oct 2023 09:41:49 +0000 Received: ("Tessian outbound ab4fc72d2cd4:v211"); Thu, 12 Oct 2023 09:41:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: df410c64639c96c1 X-CR-MTA-TID: 64aa7808 Received: from 1dad946e0175.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DD3332B7-6ECC-4A90-91EC-046F6E0298A2.1; Thu, 12 Oct 2023 09:41:43 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1dad946e0175.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 12 Oct 2023 09:41:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UnjD3vwrA5IYA8vNaqzKr9tzqvrJp9f5EZ2tYFRxUfGNLHYBk8KKjzEyjfT7RdWsrXhy410yoG6Wk5O8sd+exZ2oJo/bmzLtc4Fn8MmtRLbxh5YcbfnSb3fopOewID/EkX3xOOGdBiNZM0vwjoW9F620sSKWUqTRkJ7uuW+QX2ihOpJdsUJSBs41q26XNKb8BwQYQAvgeKYCG7wuf+RRNObJ4LdqlwUmX5xgFc3gjYbC1TNARzYPmqoPbXGgJEiqAyejEUd5SFfGUkkZ8+Egc4RuKxdvsAH6/ICpl7HpJZxHnxgSfh3vUVhBs5norL1o5ES0r1HLxH+EvnJzQPlLxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y7eTxBAaqLj/2hyfPsLcbG0bW+QIqEqUFW2zxruFw1c=; b=f51DOEBiVOARA1zCaJm1R8n0vM6mah9I46Hl/VFOdTAYCe7nErBFFnupLWnoFwKWF9MDSbQohOwni/AZCQXINtZq2McGK6V8fBG1CWOle8kZYRmVTk6NjtoH/uXB3NzU7aTE6aLE0NACqyez/+A7LdVBPwigb2E4AvLz+aU4Y5ymcZEeZYdrorj8I+NF0gjNLf2Hma6dHC+4CwIzp5yvLqqCYOTpM4KS3aSl7E4OyiosSmrFz+u4RhCqamAsTw5sB46EtHucLsmtFY9es0yrEvYovc8zrqhy/WhO6xBGWnEuPrc8l4kjF887de30bLM64DjuR/AyU/dIwnN1QvMjCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y7eTxBAaqLj/2hyfPsLcbG0bW+QIqEqUFW2zxruFw1c=; b=gFYR2ab4OfDFJk3o0sQiXxa7MUtsHagZ/gJyX36EaGcLnz2PppNS0JxVXl5kGZrW420lshAeHunFy57tN2WTHGUx69DCer7P3xto7PELeQaz91OoPhh+PbVTE2qjj9HO6ZFZEiqi7DljTu3KcGIqjOi9xMefTNN9rDB4wsnkJlw= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) by DU0PR08MB8732.eurprd08.prod.outlook.com (2603:10a6:10:400::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Thu, 12 Oct 2023 09:41:41 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4%6]) with mapi id 15.20.6863.032; Thu, 12 Oct 2023 09:41:41 +0000 Date: Thu, 12 Oct 2023 10:41:38 +0100 From: Alex Coplan <alex.coplan@arm.com> To: gcc-patches@gcc.gnu.org Subject: [PATCH] reg-notes.def: Fix up description of REG_NOALIAS Message-ID: <ZSe/UjWPIHPPUGyw@arm.com> Content-Type: multipart/mixed; boundary="aXi6nG7RomCKAsa+" Content-Disposition: inline X-ClientProxiedBy: LO2P265CA0087.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::27) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|DU0PR08MB8732:EE_|DBAEUR03FT020:EE_|DB5PR08MB10094:EE_ X-MS-Office365-Filtering-Correlation-Id: 27c1155d-e0d8-4bc1-5a81-08dbcb077532 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: azLf7nM423lDf21if9wyNnniQpXXkzh0dGIAKCBfitFqcvSU1vmLIzKe7Z5zRgIvgDYfAqWxVB+GMFHa6t75NfwyKDmlMefsz6t7Gf0oZINYm7C7z8WE5xpDMvovoh+B1VYKnmMH7Qyp3ppwMg5yVBOjSAhQWhGNhWgjgrudq1OK2vYSUYviSw20Bx7A1AR3jIzIeeq8PTDFzSe01dwSNH/w5cSanpuXNSPQKkcjvsNfiIume+DnLtj8JlOl/OqTSqiDXTft1br3eYB+/EtEkUiJRUPceAmnU8aqH0UgJG+FW4rZK0iXIdC1R0zwzMhHo/pvmH4f5GZGtvVkK82cZe70ZvmFFGW7UR6hOwaoFIa12ptG2/TzwAnzy3gtWkwJUdNjWZy4pRtguaUc3oQxPXfF/ytedjsbLInAvzLn+7bJ31+Xp9fg5lnm7VfVvfdVkDYkL3IidQ3v3qvryC+OcJ2U0rCX7TUYPY8zbEdehkbvrWSBh8WfD88KKxrQ7hDU6/SP4vgAZ94XR85t5/vtdPLcTILzYZZTfIDcJchJfOlgOYPT62tbiZ8xRfFQhQv88IN4hcO9IMdLuj8xFiiWY/skoGpnw5iqg/eBgVRWEsm39kM9n115/Qx6P59uAY7n X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8958.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(396003)(346002)(376002)(39860400002)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(26005)(6666004)(6486002)(2616005)(38100700002)(66946007)(41300700001)(316002)(6916009)(66556008)(66476007)(5660300002)(21480400003)(8936002)(8676002)(33964004)(6506007)(6512007)(44144004)(478600001)(44832011)(235185007)(2906002)(86362001)(36756003)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8732 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 80d1f4e7-948f-4269-c76d-08dbcb07705b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n1cmgpCb9DtxbMt9VcP40KxJH2YADtMB6V2hJwygno9L2ivsGuDXNNKg7FG45sHfRySxN2bRc/pL7cudA7zWX93u1f5TVXe5a8SBJBG2zUHOwRT/BW5Stwb6CWvsq71RZw74AhvHloQ6WF1KTexxgKerFmonvxaJlxdd1JVmnq4LDoF8ZIB9UCEyJDpiVn9JPZh1WrKTNMgUxIf1ecn+M48Oe9bR8q9kBk6jJ+MiN0c5aCusz8oSqq8WwSMznq8dBjy7sDPJLSc4BE3xI1aDKAJ43EgpMR/E3hmEaY7DhN4peC6Umhoh9JTlz3/+H8FIRvaf0g3HJgfoyFeEix3nJEK2Ti0eXJK2sgVKR/znIrBiZyIwI9rKLve1pFeFBm/2YeWHi8ldVmoFZgBMCQG/vnRV9Mh/ukuKj54YMGqL5fhR/GjMYpHDw75G6b4aVGq1LG8uohokoX009zQ4t6L6/Hr1u5YIMO8vj+UXwx/3UmFO7GUB0ggnxD7i0pedVM0Iu6F4x17XyQeaU+7Aoo8BMdCqoK+dH1110Bv1+OE+L1yQzcPwrMc3zmnAVLh8ZGTDYPsGQ4O2XorXkek2IIYBHE4G6TLpVdUZ5TsLvNikV5y33rrxPqv8AF/RU3ieMe0/5BGkjeDFYVY2JnGE3c8ViHoVyDRIPwXi/lh7eCm+CZtD3V4BDJIG4R56yCY5EAc+yVlTBZCiIbpB+IJdKbz5E5iICljWD0OKjYnAYq9nLpd5KMrT9Ji8EqPtI+0oI0MotTEpSTvOCvA2IFu402y0+A== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(346002)(376002)(39850400004)(396003)(230922051799003)(451199024)(64100799003)(82310400011)(1800799009)(186009)(36840700001)(40470700004)(46966006)(40480700001)(6512007)(8676002)(235185007)(70206006)(33964004)(6506007)(2616005)(21480400003)(336012)(44832011)(40460700003)(36860700001)(47076005)(26005)(316002)(6916009)(70586007)(5660300002)(8936002)(44144004)(2906002)(478600001)(82740400003)(41300700001)(6666004)(6486002)(86362001)(356005)(36756003)(81166007)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 09:41:49.4500 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27c1155d-e0d8-4bc1-5a81-08dbcb077532 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10094 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
reg-notes.def: Fix up description of REG_NOALIAS
|
expand
|
On 10/12/23 03:41, Alex Coplan wrote: > Hi, > > The description of the REG_NOALIAS note in reg-notes.def isn't quite > right. It describes it as being attached to call insns, but it is > instead attached to a move insn receiving the return value from a call. > > This can be seen by looking at the code in calls.cc:expand_call which > attaches the note: > > emit_move_insn (temp, valreg); > > /* The return value from a malloc-like function cannot alias > anything else. */ > last = get_last_insn (); > add_reg_note (last, REG_NOALIAS, temp); > > Bootstrapped on aarch64-linux-gnu, OK for trunk? > > Thanks, > Alex > > gcc/ChangeLog: > > * reg-notes.def (NOALIAS): Correct comment. OK jeff
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index 1f74a605b3e..5cbe35dfe36 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -96,8 +96,9 @@ REG_NOTE (DEP_CONTROL) to extract the actual value. */ REG_NOTE (BR_PROB) -/* Attached to a call insn; indicates that the call is malloc-like and - that the pointer returned cannot alias anything else. */ +/* Attached to a move insn which receives the result of a call; indicates that + the call is malloc-like and that the pointer returned cannot alias anything + else. */ REG_NOTE (NOALIAS) /* REG_BR_PRED is attached to JUMP_INSNs. It contains