From patchwork Mon Nov 6 07:41:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 161854 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2496841vqu; Sun, 5 Nov 2023 23:42:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSXjNLMHHrpG8rdo945Nwqx6GWEoORZzUn6s/0sGXiOk/leGNxnF8SiqRjGFAsa4gBa+Iy X-Received: by 2002:a05:622a:1449:b0:417:fe21:b254 with SMTP id v9-20020a05622a144900b00417fe21b254mr14144544qtx.18.1699256561929; Sun, 05 Nov 2023 23:42:41 -0800 (PST) ARC-Seal: i=4; a=rsa-sha256; t=1699256561; cv=pass; d=google.com; s=arc-20160816; b=PCdNfdzhLIJetfB35yAHrvA/I9vuOF7Ux5nNXJCXJKdpA6USxuuo++pLl8S/OceeKw r/XI2q1+GqHpFO9P7FCBNTwwr5s5YXYW1vCqNHNbqMIuxByG60wKchP0syuOXpKb+zjh WI35vcRe+VY/8UTlQ2CZ6FVYOeVltlE+rclwcYcr0xZAi83elLguYy6IlnBLU1h3/1/R vjIsHXeAnUN3U2OtlbDbUV5L2pPn+IrztlakNgVhj5Vm5EO3Va3dNKGmUvG3g2/21UxE epnE/tweEBI97d3UBMJrJRxIY7PD7FasTJmEo3moYXfbobytmCcM4K44g5PtZyku8TXH qMOQ== ARC-Message-Signature: i=4; 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:original-authentication-results :nodisclaimer:mime-version:in-reply-to:content-disposition :message-id:subject:cc:to:from:date:authentication-results-original :dkim-signature:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=FF7AhbD9og9+/fUM4cnrNqYcn6NQBwYFmQ3QD3CNtps=; fh=6lLuKcPp5JwcfhLsQ40FQN1vJS1KxlKbf2GiViQwbCM=; b=utDd8UNi0dxlOXnfSYptgzRjPhygDlVrWr/lXGA+2AfV1LrVR+kGA1A0dNz/Db+W2I 60iVAdY9JdIsAN3qipTbjjpOV0RCEjVn/X5YIqPuUtKKGLyUCirK3tuxb6BMn5DFSJLh aD+ilhoD9lUp/7mZRA2Ygh3qMwlsLbmrAZh+NWPeqkM6E49rV5h2YbeM2TzI013micuq rSkmGx7+V8j62l9tWfQVIj3DARJn8+N1vG7N2Diw9zUjgEo8U8iK71sqpLkdx7gjHbDR X56NZMftAgoxxczqJUCnEdq765niwesh/sdl4b9RDE+ghWZPw09UgXl4Npwf9qFhHgWe ZUVQ== ARC-Authentication-Results: i=4; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=4oHGOAe5; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=4oHGOAe5; arc=pass (i=3); 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 y20-20020ac87094000000b0041cb95e3d9asi4715747qto.44.2023.11.05.23.42.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 23:42:41 -0800 (PST) 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; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=4oHGOAe5; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=4oHGOAe5; arc=pass (i=3); 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 97ADA38323E3 for ; Mon, 6 Nov 2023 07:42:08 +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-vi1eur04on2047.outbound.protection.outlook.com [40.107.8.47]) by sourceware.org (Postfix) with ESMTPS id 60CEE386189B for ; Mon, 6 Nov 2023 07:41:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 60CEE386189B 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 60CEE386189B Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.8.47 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699256503; cv=pass; b=SkG/647KdiM6rg1U1h0gpjBYD4u3Qead21XkT8mCGpWDMcfRRjMPgK3XLZeHdQuE1sAYT9MGdcdQ2mRR99d7duhXgFtcIweLlftBs0szQrFBX51Jak/Oo/KP3/QasfBrLAivp9hScX+JpSS8q4yPbsY0BItqag/bIGUGMcNY1Hw= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699256503; c=relaxed/simple; bh=mpl/zr7BJbvN4K3z2SBMb/hOYKD3tuU6OaKcYImQFzE=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=bLNyNq5Y98X0PuxZwDYXKcf385sjj75vt1t4aN9rk7cK0C6MqGDfaJqKi+Rnd4cYAYwML8LDrg2Qqt0cIXsX9NroINDNuiAHT7eUWEgIDvSAohSvNS9qfeXUugbcTxGuc2qEJQKnPn+4bYOdP/yq+CLhTnROBQY99k61LO005q8= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=ewItw2b+Zrco2KOUihZbOx0Y339j96TMmtTKg6zEzZjoRgjgbVUVcu8NraRRvWFteOLTo1x8UkD6jAcItziUg1EHaK11cb1pUAiSgFxtrCn4GGbm3/L6V+RF90TYUQmEfd+N5NJgYt0Bw8TLkgo3cq7wDdN6NoXhiquL2AYXRbFTabUIeUHN8u1Ft+sEhAwNJ5fuxZdfyhDXDb1mNzZRegfe6F0IzXASVEJNxRHDelGuqhPncQusQHjTelTIShlJARjha/ApycJKzfBaxRWKzeU1JGfNcFfgHzL8VKWpZugmGepsugoSgUYou4V7kNSg5V0CPbWcQc5CxvwWMiz3rg== 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=FF7AhbD9og9+/fUM4cnrNqYcn6NQBwYFmQ3QD3CNtps=; b=D6XUsJ33cMmMJC/scduj7KrOxsvv48ckAr7WvPCp6rDochPy1gwk5ep20eyWosGWG/fXFeUzSaFeuJj9o8Pj7yTJW+f6epSr/EHZiQJssMyrQ1w5rYFnuthSwCaLm5neMvN2FO9G/uVNTvCRM4B2YQpuh4P/bw3TADrWNO7FfT3YSAXbK9xTq/IEYzHdz9DyfaEgzo+pnCZlbm0HewIwaGeVXVvyH7nA4XVbnlNWICLJr3NOuhVkWOJKjCkyMPOShUpLUtfR9fjifCdEGbK0DOkhlV/6HpTuJyYDuicM2fcUfL6AR7552XWI+e6XaaaAIOOAY+BTDXGUCoZKMdxngA== 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=armh.onmicrosoft.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=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FF7AhbD9og9+/fUM4cnrNqYcn6NQBwYFmQ3QD3CNtps=; b=4oHGOAe5fjN8Nb97CdWAPIcukesHojWHqvT56Z44laoBZzUJV+SOUUfRE5WY0AmBKY3m/oz2aDblzg/m+79y6efAICY4tHWYk9mY9TJI6rSjrGKPO4AffYQfObeX8CmpRnHnU9a+beC/U9D6faTOnia83YaH/tNrb0EQejej3Fs= Received: from DU6P191CA0062.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53e::11) by AS8PR08MB9409.eurprd08.prod.outlook.com (2603:10a6:20b:5a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27; Mon, 6 Nov 2023 07:41:38 +0000 Received: from DU6PEPF00009529.eurprd02.prod.outlook.com (2603:10a6:10:53e:cafe::fe) by DU6P191CA0062.outlook.office365.com (2603:10a6:10:53e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27 via Frontend Transport; Mon, 6 Nov 2023 07:41:38 +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 DU6PEPF00009529.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.16 via Frontend Transport; Mon, 6 Nov 2023 07:41:38 +0000 Received: ("Tessian outbound 26ee1d40577c:v228"); Mon, 06 Nov 2023 07:41:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 35a2ab94fec5aba0 X-CR-MTA-TID: 64aa7808 Received: from 0aa0c14a9ff1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id EFBF6B11-A25A-4274-A47F-46EB72A9FF18.1; Mon, 06 Nov 2023 07:41:32 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0aa0c14a9ff1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 06 Nov 2023 07:41:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LcfKAh/w4U0s2CWdjrXRwTgzmls9TUE//aDZYZ3yhmo7gICxcISeef+ZE0wYPFo6lLXHMxbAc+FIuUuR8ju/2SyeZ71rHIYu86W5Bgxis9K3Jz03a2jEF6176eC7WVsvRz4u2MEb/NjUUCQmLYKXPTIiL2ei/67TPB8JddZuBrszXJot4p5gzBFBNYn7GPZpbZ6lqCA+GO0WXNh3c2vHvt+57rokH14gxHyvwXmul9RlWNNAYi79h0yNDsEMJx4E61bpXbLonzthAmH5a+uEGDdi/xrrS/kWl3UkV6Oj9QKr+zv97qZS79Ll86Mr16OBGhdEPtKhTp2MlaNmxCNSUA== 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=FF7AhbD9og9+/fUM4cnrNqYcn6NQBwYFmQ3QD3CNtps=; b=RUJbDTcMYhWUqHd0cZeIy7mci6XeaAqGAK/X4WliOHlODfARSBtsLgBgwmADpJV+ieEIKNF9PU5hLTBXWVRpWzL5/6FviBBLhnNEPD+UfQ/NWrLrh2nQC6unlLXijojsNRpGYicAhJEeUmpd2/s9FKc/m/6p30SdS2AqFiIF1qP1ZGx7Ki4vA/eFOULCxWUCmeQCLWROvaSrOYKu5HI9xc9kQn45XwXtBUNBHRXK1mXPw5LT/wIJzegZwVJi4dE/ht3Cq87iVTbxxnx9AaSwjXbxyoF6TMHLXP806e96AABqAAJxSuAawhLOHYW22pTPaeHJ/UVRgVuzYlBpiz0Tag== 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=FF7AhbD9og9+/fUM4cnrNqYcn6NQBwYFmQ3QD3CNtps=; b=4oHGOAe5fjN8Nb97CdWAPIcukesHojWHqvT56Z44laoBZzUJV+SOUUfRE5WY0AmBKY3m/oz2aDblzg/m+79y6efAICY4tHWYk9mY9TJI6rSjrGKPO4AffYQfObeX8CmpRnHnU9a+beC/U9D6faTOnia83YaH/tNrb0EQejej3Fs= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by DU0PR08MB9581.eurprd08.prod.outlook.com (2603:10a6:10:44b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Mon, 6 Nov 2023 07:41:30 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::26aa:efdd:a74a:27d0]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::26aa:efdd:a74a:27d0%5]) with mapi id 15.20.6954.028; Mon, 6 Nov 2023 07:41:30 +0000 Date: Mon, 6 Nov 2023 07:41:26 +0000 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, rguenther@suse.de, jlaw@ventanamicro.com Subject: [PATCH 15/21]middle-end: [RFC] conditionally support forcing final edge for debugging Message-ID: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P123CA0347.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18d::10) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|DU0PR08MB9581:EE_|DU6PEPF00009529:EE_|AS8PR08MB9409:EE_ X-MS-Office365-Filtering-Correlation-Id: 84648103-f4a5-4b8d-3d45-08dbde9bcf43 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: I834jDhPWOuOkmtEgPzyEVSGayxlYY0RfsiW9aWJDICkjUdC7weh7PeVwbm27NThjpSgyA5aUAPcnKztKA+2WVueDQRN/LlVrtm2dMcB0ipqaG3ZutUAXvsEOHHSYG9yFcLGKQtNcAV3JKQ/ZSZQMGeFp4hWk7LgZGPfKYw8as/p0AACQ+UP/vrDG5tKBDv72/IlxWdBv7ZjlskPVo+aKGVhv9uFMRVeu1CE4aEAYr+oTjfTqVxnUhndZFnlt6UKyEiyCEJMMB9yK8rwmmHfABCusEisTjI41BERNUnxemF3fv6+V0Nt6YAFMV0ua6xZzRHC6+lcAtOo0Xqep6U5KD3idc2oHdxU7cDSkLw1y2wISULMY3xh5+9se2jhW3PNohNik3yLrfSoSCOBXyeUzhxr+ZNDvjqpg63okUk1NAWp5420bGw9jr+xVUqIP7RIaIDhClKDcxe7TPkjhaMvpcQ1O7xL0KWSSYYdKmKJQgynlBqKkWLB4XuxWBD0ivNzwsCHNz6KuELOWZIzR5bAiFb8tOWzGRtIpTHKSlOiv3EEGp2kfqi6FzKc/3V+3Y5Sf4uAbIO0yZKwU87A+blEi9a0IMGfMb8sS0H4hdJM7jdgfK8tuSQkGvyN20oewGxJ X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(376002)(136003)(346002)(39860400002)(366004)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(6506007)(478600001)(2616005)(44144004)(6512007)(6666004)(6486002)(33964004)(36756003)(38100700002)(86362001)(66946007)(5660300002)(235185007)(44832011)(316002)(66476007)(66556008)(41300700001)(4743002)(83380400001)(2906002)(26005)(8676002)(4326008)(6916009)(8936002)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9581 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: DU6PEPF00009529.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c8541694-e162-4d9c-424e-08dbde9bca7d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pDH4KSJFS0uuM1BiX3wLg76k8fZGeoDGbIKyNRl4Z20bL7K+pphhEFz9ki6v8pG6zDxtAeLxa5KMOL0P3C+TEQ5+Tmn7WsIqwNg4S5CiD8L9t9FPbpOrSa/IwqFTKJIuH7w0VZgIxfnKqODj9h4umVFxiFXUAOn1ZHLOwirLAP5n8U+Z17+9l5AaPCjnOf51nVrsafGqxwBNJ22+Qs8nwpUPogLXNaugWiXMD94dFh9gSXJN2bTLI5n8YWcrWAGwS5P714rpgctoseFoPfmyB8QQ2xLdPzncYLrS0Jj3cYQ6ToNlX5C9RbZyDcYN/pHzjwcTnbEHFJepjTmsHG2LIVk2iEVgy1ovCbvuyQgmAlLRo+weMT/XTmh57zq92YFxm1EfDmRRsCujQ7fAqdqyg2vRy1XOdu/TBgemNd6mwmVR7LW2wYednIFMxxC+tGZp7sGAvBG0yZcEk8Dyfln6mg5xTnyzb4Dq9e6oA+wz2lMy3OLGWIiEhhesyrnxOGpdZ/RHpGcFav53geFq+vgJ4vEsJ/dmKD3C/++BV8Dkm1VSv+rQB+HaMHWqMYxn76ZcD4GqSZbbYt1/4iIHh2K+Cr9ARIGaHeEWNM+PBW7+qbyUJJpv0V1iCwd3bXDZoujerk3rRl2e9AWmPimuCpst+wa2nqW4oL6bNjPQVxMziPsJznIAHRfaUtxmtimxY52vfexaPwrqjqOVM3hlEW1mahgjGjYJ+XmC6G5+9x/WPH5KdksHZGbaM5mGZ6JCpgpa0fljuaqbzpnE4kX0PRfImw== 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)(376002)(39860400002)(136003)(346002)(396003)(230922051799003)(64100799003)(186009)(451199024)(82310400011)(1800799009)(46966006)(40470700004)(36840700001)(70586007)(70206006)(6916009)(316002)(2906002)(4743002)(336012)(107886003)(5660300002)(2616005)(235185007)(6666004)(4326008)(40480700001)(44832011)(41300700001)(6512007)(47076005)(26005)(6506007)(44144004)(33964004)(8936002)(8676002)(83380400001)(36860700001)(356005)(81166007)(478600001)(6486002)(82740400003)(86362001)(40460700003)(36756003)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2023 07:41:38.1644 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 84648103-f4a5-4b8d-3d45-08dbde9bcf43 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: DU6PEPF00009529.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9409 X-Spam-Status: No, score=-12.1 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, T_SCC_BODY_TEXT_LINE, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781799648647277986 X-GMAIL-MSGID: 1781799648647277986 Hi All, What do people think about having the ability to force only the latch connected exit as the exit as a param? I.e. what's in the patch but as a param. I found this useful when debugging large example failures as it tells me where I should be looking. No hard requirement but just figured I'd ask if we should. Thanks, Tamar gcc/ChangeLog: * tree-vect-loop.cc (vec_init_loop_exit_info): Allow forcing of exit. --- inline copy of patch -- diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc index 27ab6abfa854f14f8a4cf3d9fcb1ac1c203a4198..d6b35372623e94e02965510ab557cb568c302ebe 100644 --- diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc index 27ab6abfa854f14f8a4cf3d9fcb1ac1c203a4198..d6b35372623e94e02965510ab557cb568c302ebe 100644 --- a/gcc/tree-vect-loop.cc +++ b/gcc/tree-vect-loop.cc @@ -964,6 +964,7 @@ vec_init_loop_exit_info (class loop *loop) if (exits.length () == 1) return exits[0]; +#if 0 /* If we have multiple exits we only support counting IV at the moment. Analyze all exits and return one */ class tree_niter_desc niter_desc; @@ -982,6 +983,16 @@ vec_init_loop_exit_info (class loop *loop) } return candidate; +#else + basic_block bb = ip_normal_pos (loop); + if (!bb) + return NULL; + + edge exit = EDGE_SUCC (bb, 0); + if (exit->dest == loop->latch) + return EDGE_SUCC (bb, 1); + return exit; +#endif } /* Function bb_in_loop_p --- a/gcc/tree-vect-loop.cc +++ b/gcc/tree-vect-loop.cc @@ -964,6 +964,7 @@ vec_init_loop_exit_info (class loop *loop) if (exits.length () == 1) return exits[0]; +#if 0 /* If we have multiple exits we only support counting IV at the moment. Analyze all exits and return one */ class tree_niter_desc niter_desc; @@ -982,6 +983,16 @@ vec_init_loop_exit_info (class loop *loop) } return candidate; +#else + basic_block bb = ip_normal_pos (loop); + if (!bb) + return NULL; + + edge exit = EDGE_SUCC (bb, 0); + if (exit->dest == loop->latch) + return EDGE_SUCC (bb, 1); + return exit; +#endif } /* Function bb_in_loop_p