From patchwork Fri May 3 14:45:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Coplan X-Patchwork-Id: 1931064 Return-Path: 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=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=VGuok5CT; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=VGuok5CT; 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 4VWDBg4TH0z20fW for ; Sat, 4 May 2024 00:46:02 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 48A043845147 for ; Fri, 3 May 2024 14:46:00 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2064.outbound.protection.outlook.com [40.107.22.64]) by sourceware.org (Postfix) with ESMTPS id 8D1AB384AB58 for ; Fri, 3 May 2024 14:45:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D1AB384AB58 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 8D1AB384AB58 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.64 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1714747541; cv=pass; b=wUVxfh1FOOqa88WGZAz9Ri8SRupxmuUYO/kFG/CT7gY/n2DH/6rukdkDdT0JgTDvKdv/jWJXyPp0margW1vaEe40La0/yo1tkoe/s//cJXgeJKGi9vYeqZskRyUV3gymjXEyjCUviptxnbiu7q1xKvzae8LKW37lTz7KPx0rTVw= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1714747541; c=relaxed/simple; bh=PL1931NFRbATI2ut8GLXNiT9LF7QjFLv7FTsgPZHKCQ=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=WIp3HQYxJmhIaETBYqUDD8KEtRhHUsCzY8ZxwHsZgeNXHNA3qFuXI7b/YQo1ENpxokwcNi0IXzfpnig0d2qnGZHh/npsZnidkyGOb9jGjkwh0dBX3/E/scx9Udpde/3E/kSjPuMY8P0r8dn60QETzhh8/sakSOD/Oq5ijLMwmpI= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=cmA1PDpQXk+m8p3TSNwU3/8m6MWb2Kk9M2qUodBNDmwcJhGMpAVgkpRkBiNezO2azOF9WXRC+Q602rRjGkxxdSqT19amWHQpZt/IjJX/hqhiue4gDO4s9Ac7gWrmsANAYlj4pCyWwptvtsLSfUaR8GM/QanLppu/pfL6Olb1ujJ9+c+pgTH2kg7GYx2haBR6Xg1ZioBAiTkoG7abLMDnGu+xLZ2kpyYHiiYzAR5o/B/goqGFW6p+yzSzxTV+xgn5aeIPfceKy3+v93VX1SJ7GHtjez81F/LmkY0tVRqBWWSatvMd0KkvzoHUjPZhI3gQORa1lzaCsY4NjxRO8upawg== ARC-Message-Signature: i=2; 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=B+PteFD4lZ4yftS18UStiDOvL6OH4+1dKPZI5/DqayE=; b=iriLg+mySGyZTFkk2X4lyohhUjWXPMXxxtWq43QMMRhDuRLKgARbPdYqv4BLlVgajGN5jmAyWwWfHofP1ZtZTUh/WXHywXqm2VZhxRzt8bUBl3Vgm2RTRBFn9DwYWQesNu09JqdMOgUC4ABfveXfyWkOnMfteS+434+4xJulPiXiqk5+nPxLcMTeDrnQuy30ELtgIIkhbiU2fpEqstUc5Zpukm3YjRUMZ77fm0jz3nFMSfA1Unn4cScVrV1rzCzctovwOADVJCW6AL+rYLGD5JoNi9MN7jUb6oVXZQlpVD4dbVgAQ6wevSaVGQAcAgQdH5EHoYYkm83iY6CzfbdPyA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B+PteFD4lZ4yftS18UStiDOvL6OH4+1dKPZI5/DqayE=; b=VGuok5CT9WPunJq79F7J8+XONBtZ2btccHfbR2LhG2wtDFwzsNOIo0J0MMTqYY4z1fLbe0+D9H3wwIs5lKNd1yjJX3suwo3Wj5fWvCJphch1n0wdrd7omm1HKJqX9REEPQ8JdFYjczFwJFPfQ0726EB+cPUFiRE9xNy5lzuSGRk= Received: from AS9PR05CA0303.eurprd05.prod.outlook.com (2603:10a6:20b:491::6) by DU0PR08MB7740.eurprd08.prod.outlook.com (2603:10a6:10:3bc::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Fri, 3 May 2024 14:45:36 +0000 Received: from AM1PEPF000252DF.eurprd07.prod.outlook.com (2603:10a6:20b:491:cafe::e7) by AS9PR05CA0303.outlook.office365.com (2603:10a6:20b:491::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.24 via Frontend Transport; Fri, 3 May 2024 14:45:36 +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=arm.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 AM1PEPF000252DF.mail.protection.outlook.com (10.167.16.57) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7544.18 via Frontend Transport; Fri, 3 May 2024 14:45:36 +0000 Received: ("Tessian outbound ba75727f6dca:v315"); Fri, 03 May 2024 14:45:36 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a0471619d479367d X-CR-MTA-TID: 64aa7808 Received: from fb0ed68dab52.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 43247973-3CD5-44A8-BBDE-92AEAA61B006.1; Fri, 03 May 2024 14:45:29 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fb0ed68dab52.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 03 May 2024 14:45:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dRKbknSQZNqqbjePsK5+/HDKG9VFObcK/OjQFQQpHNSxop+vXwA3fmtH9NXGp6KD2HmYZBiB4ktGmrbEYZ8z8Kd9QYwstLFnh6NltvvR59Wl8nboZE1mVglzLUKMiTx/szK51s89Vvvinowtp5GEKVpfTHXUJjTe0LpwzB/elJ8Jk9/5sHx9OeQBy+voVB9Ceka/OE3m8uEjhZky5Ze+TiML7rHHUatIkDId7oQMkjPLiuCQ6iuSN/MVeKAbuT6fmAQ4Q5+eLdudN4iuP5I7lXQLPb49WRQIcEZAbkfu7Wr6G2FfLCY495ZnuwQf7fot8v9PglkU6Lt7CNQE8eYn8A== 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=B+PteFD4lZ4yftS18UStiDOvL6OH4+1dKPZI5/DqayE=; b=OgjTzkRzSQyUtGkHinMibGMopUp/ryLzRVTzAtcFCGk/6yu0VysyLrTvDDAJOmwJAHeTiQyEr8N4vfMjhvi/pbWWz00i0Ghbn0qY2vC5o14VT0bMYQykNtwN++muzBEPVU6FgeRVDumQknov5/LSamh9ltqNtnV0gmm3UyA4XXrs13ymC75nM/L7vGCfxgsCqpoDRvbU4aQw+qaL/QnL9a+bmL+GnWO3bjNn+Ql4Wqw/zYsXetrgQIq93na6Au7q81tyRTJ1f/mAn3lK7ubdBdjQBvaxkSEbJXQAMGmekvPqajy58DSfc94DjL497kCA6WOlG+lTIkiilzjxgS3pnw== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B+PteFD4lZ4yftS18UStiDOvL6OH4+1dKPZI5/DqayE=; b=VGuok5CT9WPunJq79F7J8+XONBtZ2btccHfbR2LhG2wtDFwzsNOIo0J0MMTqYY4z1fLbe0+D9H3wwIs5lKNd1yjJX3suwo3Wj5fWvCJphch1n0wdrd7omm1HKJqX9REEPQ8JdFYjczFwJFPfQ0726EB+cPUFiRE9xNy5lzuSGRk= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB8947.eurprd08.prod.outlook.com (2603:10a6:20b:5b3::22) by AM9PR08MB5907.eurprd08.prod.outlook.com (2603:10a6:20b:2da::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.31; Fri, 3 May 2024 14:45:27 +0000 Received: from AS8PR08MB8947.eurprd08.prod.outlook.com ([fe80::181e:2de2:dfd:9ada]) by AS8PR08MB8947.eurprd08.prod.outlook.com ([fe80::181e:2de2:dfd:9ada%6]) with mapi id 15.20.7544.029; Fri, 3 May 2024 14:45:27 +0000 Date: Fri, 3 May 2024 15:45:25 +0100 From: Alex Coplan To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw , Richard Sandiford Subject: [PATCH] aarch64: Fix typo in aarch64-ldp-fusion.cc:combine_reg_notes [PR114936] Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO4P123CA0246.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::17) To AS8PR08MB8947.eurprd08.prod.outlook.com (2603:10a6:20b:5b3::22) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AS8PR08MB8947:EE_|AM9PR08MB5907:EE_|AM1PEPF000252DF:EE_|DU0PR08MB7740:EE_ X-MS-Office365-Filtering-Correlation-Id: a5b72448-3875-455a-d5ae-08dc6b7fb1a0 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|1800799015|366007|376005; X-Microsoft-Antispam-Message-Info-Original: PZVkdNw4f+4bZuEDb88xcwhw87mm3l+AtyTmqjLA3s5qJavGTm1cP+wI1LlB2OyRm/+NWAdH2pzJSdkOhawfwvA8DbArDwSXgPqFMy3QLY5L2vzHs6YRZMUa+8zCePPgD0+cACMyD+ax51SxzhlWvzh9QgEI+c1IcDL/rizNET1nzL9v2HKV4ObcSkTKQ+lHsjk80eJZ/P4Dtn50hBvBSD/lfGyfguTIi2FUz1y0CKcevFKhAQysNbwvP2ff/ew9UUPSt1RtqB7EZagkb56E6HrG8CIoyWWRg4dGObSajl20bMN79MLcCAQmUcpSl/Z2/BrvLqzN9U+0F3LMvWvw9JS/zylBg9b4i3iobPUIP6PoQdkdv9u+Bhz5EJBhaxe/tM+9me8hPNj6a5PJeALHJ2Ihxx2t6/AFkemNToUwYVNf8SH8Xe+lzhQPE4GTPTuBdAjej4jFVu4pv1zdapYwLt9KbvGQ2Hrln5be0exSc4CYedkJoH97YcZaq37RjAlW3PLo5sLRM+tM6Fryyn1EUWM69Q28shGdg2Bxv/mmPycsscmws0U18YI47FMzELPwp3AC9b00Si8KVIpGLBXrgXyePGAn0Yo3epD/nQKCHGSmho77YWo3A4zouZnGy9rawF2pwnUn8RaYjZ+I3mh2RtmFGkMAoblmIJ9hQb+bzcbo0hBQOf8WD5ce8sYV3Odn1QEghk9Qf2qfg1oY5pKLco+s8mjqA0J1vWGTrW0l5Fq5btWLuQXm6fptxk0UUeze0YptlI2Bj9+hs3gVtLTZQa1FF9pUz7XdCC1xMruNMxlzFQGoOgHHkR3kEAqVrc0xLODA6urQ/IYqg1OXH++3dhABjxUdRIbLWQTdM6P1cSZmv+u6fidJdZ/M828cZRxJUQE1RaL5HJXzWd1w/KYIUWpt9MigsfU51V3a7j9gTvVRNy3C/+oe3cEDiMTxus14ja1WoHhgJu6OFZ70tSbNOvf4L2rKbbytdBva/JLSHQLUmWwtU7Xfur58uOAwNsRs5eAZf0HiQnrY5pRxtHHMffACpUJKQBj5eVDHihty2JgjiOOERZUQ0krJ7b1SxuUnfaSd5XIatbixgG5rIsgjb4AmgC6vceU5MvCR47AOnfini/XQKwnxYHhMaK4Hi3oUboSfR9hFeo43tktk4nEs1WTw1b1BALs7BypnkUNO45WwDv91mhVqQVzY9GQCiXz+DKAZAxVYckm3zCc6E+30HdquednXWto0WQLSuwfPrDYAfJIvL6+dl5Kwds/PsfmgzpCy/RtnjGZ+w0hRwDDkag== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB8947.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(366007)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB5907 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: AM1PEPF000252DF.eurprd07.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2fa48a36-e1e2-4a94-84e2-08dc6b7fac4b X-Microsoft-Antispam: BCL:0; ARA:13230031|35042699013|1800799015|376005|36860700004; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ZXg6ztzdSrXfvp5RIrx2hf+uO7a09Js?= =?utf-8?q?hl8+vtcBtUmZMA2w0xSmX7wGAUQu2IQPiAblq286RirVAM/LoJLvdkbOje+yHG+7/?= =?utf-8?q?T2+yN9zUIsMXvIVliZwKAeEUXip5z0cmmQ4kPiGzraY9RJt44YP1pov+eDcLJ+uWg?= =?utf-8?q?eeF8jIo++SGZnK3GxzJBQCAhGxaAtYU+bQja9KwvLz6bO78rr+HX86m3v7VTK50wU?= =?utf-8?q?qdqgU5eU1NPhYpDS5he/vg2huxuut52aXBx/o/STJrBm+BZeGRSf8CQCpwwA9qPZ7?= =?utf-8?q?R19uIi07LCucj/WYgSo7RK6yasGi74i3iAEFOXm/+sAzXZwskYHHVsg7dXkB2dp77?= =?utf-8?q?GHVoWZRNP4SGUFgPJBPfKurj280rpjctU8aD9v4eovPIVZsLmzw2qBDxmnFXWxAl5?= =?utf-8?q?x/vSpkG+pfnaarHRfJmFMXDg+2yKLp7Upwk572kI+Bx47JZfY4PNa6tn2+SZg3p34?= =?utf-8?q?SQQtGO/017Rbu0+xG7XczkCHIGqll80kHNovttxqP7K7icRH1DqXVGhXz91IXJ106?= =?utf-8?q?4FEQ4sCKJAS+sNDqVdGZ9L/Efjkx8CO+IS3I5AeEoLoJkkNTq/TwuRWJmnugH4FPf?= =?utf-8?q?b7czP0VwcRVWlflHAiibrZQr+Y9CELDm4pWkhQ0x6A1kpwa/3BYeaJoeXX08X8t2+?= =?utf-8?q?Rk3/ye9sdeX94f5raDT+0PRvs46kYGvdMAj0Ql1MS4jvDhYqFJLMA0w8RPk6jBVY7?= =?utf-8?q?iGaXerZatYOAFzNyivX9UA2vALWB53uwdLdXbF/R/bITbCWgFivanKcwMLkiaM9ny?= =?utf-8?q?3/ZhOLFbdj8xx9af7+0+z34vWWvQ47vWpz9VlA+r8uSdC4q/ScAGQWuFb5AsRikJT?= =?utf-8?q?Yvfc8hFv7CJ9MJJyc6p6vyTiTuonU48q+xfSI9Jh6Emku7aAgKbYI1fpTzwPZRVxq?= =?utf-8?q?yV9YKNwjV+p69M9thHaXEOcVjToqbCIzRfEUF6nz/RiSplrD9qZ98+qXH4az+ltx0?= =?utf-8?q?KI4gl9wN/dNucxsbMMxvU2s2FcTl4zZxSlD7sBNuop+P0B7BIPRskfEK3l3Y5JAlB?= =?utf-8?q?kuXSkv2TyHB+JNK2ODjXK9Y0X6t+ZdXytqKtonaOxf4n9UFZEHYEEAJhbXCACGdqX?= =?utf-8?q?dy+SogvI/ua8KjXnb27kPz2FT7MDSiXp5gkKFMt9Ony7WsvcVVjUUH0o2eLtZ+mIl?= =?utf-8?q?tvtwWnwYSiuOGz7PdNzN9jjPPNzh7kaAcCbJjilAdYxbioPysFI9vUlNlTjrS55js?= =?utf-8?q?88dxNdD6+BVrWh01VPWCMGg+peBjSk3vYP4FXpA9ytsasJx1GQKJEUgy9L8XmsijK?= =?utf-8?q?yxtu8gXRhnBEWQtQd49dulTM2sPNCZF2wmk7lUAjm0g95pEQHmoOdD6Mq4tuDrvJf?= =?utf-8?q?Z5lLRIWthgEm?= 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)(35042699013)(1800799015)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2024 14:45:36.4112 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a5b72448-3875-455a-d5ae-08dc6b7fb1a0 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: AM1PEPF000252DF.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7740 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org This fixes a typo in combine_reg_notes in the load/store pair fusion pass. As it stands, the calls to filter_notes store any REG_FRAME_RELATED_EXPR to fr_expr with the following association: - i2 -> fr_expr[0] - i1 -> fr_expr[1] but then the checks inside the following if statement expect the opposite (more natural) association, i.e.: - i2 -> fr_expr[1] - i1 -> fr_expr[0] this patch fixes the oversight by swapping the fr_expr indices in the calls to filter_notes. In hindsight it would probably have been less confusing / error-prone to have combine_reg_notes take an array of two insns, then we wouldn't have to mix 1-based and 0-based indexing as well as remembering to call filter_notes in reverse program order. This however is a minimal fix for backporting purposes. Many thanks to Matthew for spotting this typo and pointing it out to me. Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk and the 14 branch after the 14.1 release? Thanks, Alex gcc/ChangeLog: PR target/114936 * config/aarch64/aarch64-ldp-fusion.cc (combine_reg_notes): Ensure insn iN has its REG_FRAME_RELATED_EXPR (if any) stored in FR_EXPR[N-1], thus matching the correspondence expected by the copy_rtx calls. diff --git a/gcc/config/aarch64/aarch64-ldp-fusion.cc b/gcc/config/aarch64/aarch64-ldp-fusion.cc index 0bc225dae7b..12ef305d8d3 100644 --- a/gcc/config/aarch64/aarch64-ldp-fusion.cc +++ b/gcc/config/aarch64/aarch64-ldp-fusion.cc @@ -1085,9 +1085,9 @@ combine_reg_notes (insn_info *i1, insn_info *i2, bool load_p) bool found_eh_region = false; rtx result = NULL_RTX; result = filter_notes (REG_NOTES (i2->rtl ()), result, - &found_eh_region, fr_expr); - result = filter_notes (REG_NOTES (i1->rtl ()), result, &found_eh_region, fr_expr + 1); + result = filter_notes (REG_NOTES (i1->rtl ()), result, + &found_eh_region, fr_expr); if (!load_p) {