Message ID | Zx+lvBVnlc+yMcCv@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=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=j4M/2kaO; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=j4M/2kaO; 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 4Xcc0c6VV8z1xw0 for <incoming@patchwork.ozlabs.org>; Tue, 29 Oct 2024 01:56:32 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1ABC73858C32 for <incoming@patchwork.ozlabs.org>; Mon, 28 Oct 2024 14:56:31 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on20607.outbound.protection.outlook.com [IPv6:2a01:111:f403:260c::607]) by sourceware.org (Postfix) with ESMTPS id 8BAC03858403 for <gcc-patches@gcc.gnu.org>; Mon, 28 Oct 2024 14:55:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8BAC03858403 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 8BAC03858403 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:260c::607 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730127322; cv=pass; b=N8u3ji/fh9CMA8/km43OhiifvyHBFN78oYgIzEGRtWNrbfUC7J5OmMjv1AmFBxUKs9FWSQv7gmDERZqvDPs1i+H7GYjacIC1txf0ZPZyocwD6neZSg0yvSJ3v/SBTYm4IPrV8AiFhGf+WgzMD37q6KbWrqAS63ahmkaD98f5Apg= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730127322; c=relaxed/simple; bh=gBcMlcRnPaa/K94+CweJmOgFJ3oPsPwXcZIlFVEujGE=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=RHwNSlHTSMf5Is5GwQBwZdX7yrTNVMY9SmFOQe3fFoMxRskeTD1Cg7nYKSiZ1pdJbWWY/dEwNaADzyW1aI6Lli+jF4qOI1+e0LIesnx13QG7TUH3GYN71SzRKxuJHOrOPlKye6T3hOgyyNkznjBfdVhHBEprXhYFV5xib2vA1LA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=sDxtViFSKJKAt0kWFOTyY/zs9UsRgA/Zpt+e9glZSwdbjtbCPwkl3xpqjAmcOSoeFdSp9BEdbdp1GZGCEmtSuH5nRnZ3HcW9JZHmDZ4vhlUx8g/dAiOfHAOp9dDHEusfTJDRS0fMFB/ij7+pwmCr97bmQbdutNHQRBUx5qkoO0RJm2N4JguCMCZKPwF6ZzcUZlbCJq9z4UkSDVh30Ua1TqZaNzJ/OCPF0cz4iJbA2Vbw7G8BZEJ+Kwh2dTf7R+BfEVlgmY0JB7spamQ4dkgGZw02+jlqvOQfnpfr0l42XhT/YYMs5vZHhxgh4nPTfepVXINsREsWLQg8kU/RaFVmwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=hIGbnKyMg2Vc8qYSqLEesY4B5/X5WvTuzlJNw89b6X4=; b=BWfKZoinjSb0Z1tjfgB/Tnf2EYtGSPCggTzFa9Tui5B5aBnrq7noUrjUvR/drR4T+BHpnx3gHrJaLCcECFVxtwOVvgoYWWrcua8s1Vl1uddKh0HI8e7ni/83v/1SJEOTzRLjoaS8dqhj19+z06CfDXvjYh3ebcY6ymVl8JvjiiTQ6uoGdz3B0oxEgQmR1l/IyX0/wILaPnLBK5AsSWcZpuQ62TasBHbp1rZVxxot0PVunJBrWZil7XvtgLJB7QkhsrlCueRHyfKq9qU0PAHFsV55LYWWbqFNKoi8gIoJC9ERpeEsLxn4hLuAgPSXWN779FFSrNTZT2A8dDkl0Os4Wg== 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=hIGbnKyMg2Vc8qYSqLEesY4B5/X5WvTuzlJNw89b6X4=; b=j4M/2kaO67JnPEcLDmELsyQXyspNDg4+W5wLhbxG5ulEYvvi63xZ1w0Y9WlXheK3slDIjifUF13gBrctdyjCTjmAhjNIZg8TzDOC6gZNFhq7FDOfsS8+7DwRm/6UID05586tTjGV4W3/sHm8Nb3Lkg4spUKigYuLFKtNk6X87A4= Received: from DB9PR05CA0007.eurprd05.prod.outlook.com (2603:10a6:10:1da::12) by AS4PR08MB7408.eurprd08.prod.outlook.com (2603:10a6:20b:4e3::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.21; Mon, 28 Oct 2024 14:55:08 +0000 Received: from DB5PEPF00014B8D.eurprd02.prod.outlook.com (2603:10a6:10:1da:cafe::d1) by DB9PR05CA0007.outlook.office365.com (2603:10a6:10:1da::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.26 via Frontend Transport; Mon, 28 Oct 2024 14:55:08 +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 DB5PEPF00014B8D.mail.protection.outlook.com (10.167.8.201) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8093.14 via Frontend Transport; Mon, 28 Oct 2024 14:55:08 +0000 Received: ("Tessian outbound 8223600b7a9c:v490"); Mon, 28 Oct 2024 14:55:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: aaa30f40ca0fb4bd X-TessianGatewayMetadata: dAoKwNKfPjyuPpgVb7vQ/bHb6iys5gEMwHcIznYrs28EqE83YXfxN6EzsqJDyk0sIjWnKSImZV8Gi8n//NFkOEjx4lnSvhR+LIfFb78dSd78+8G2ffgnQGfXfWrdxCEox7i7V0FPU83YhkvMKuBTng== X-CR-MTA-TID: 64aa7808 Received: from L3ab1ddf3645c.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4275524B-1CEE-44B0-9A82-A7C50659A098.1; Mon, 28 Oct 2024 14:54:57 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L3ab1ddf3645c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 28 Oct 2024 14:54:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mkR7B1SN9c82jC3a3BCugnQdHJ7QtaJrkqSdacPnvC18c1ahS0VzHlj/cwY7m3+812ASFfqekwdhl6Uq/GCYMiXYmF3ZCS3Rp5Ue+zZR3lmZziFr5jpDPiAoH8T6tADhD2Dgn/8m9URsYYZ/aaUl3TR4fIL71f0pnKegj8ycecL+BUrBjsnWpl0WDnA8SHFc1ckMfJ+l5fytoEI9I34W+o8JBwHH0/v/ZYU3MZHgJyKKXAXV/weoWYV7akSFqd/ITG8bUBeIPhQTCNYNmoJ34PTb+2rSc8pxWf1nvCE0CDdb4/xhXwvLIIXop5s1g5S61qzqeR3H0zb8DRiMjo5jKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=hIGbnKyMg2Vc8qYSqLEesY4B5/X5WvTuzlJNw89b6X4=; b=ve++cUKGGUfgsxF9bmnx/2ygKZS4xSZbTtNwgwNu5OCxmt0rFbrCJB7bLbehXJEy7pOZDiZAC6e2J2odkfuK0bvX66ASZDTISV243RK/vHgjSRB/nrU+ohvIX7YAaMNN8HvvxMEEN4UbAs713Wdp4p5BFog3lJSHBDpKhPsblCg8DSRfMet2iIkkI1WKfy6mHvyTUFG/ewDLFvQog1WWx+KcSy84pWFnv5eHacs2lg9N5111a+FX8LDkRXsnOQE8KqP6eFxDlFrPtw4NipedWnGxJepD1Y6ymbr8nkfTk3emlOGbQM/fKmEQwgLqOoPyoLXqpJS0ueYnV39zS4/cGg== 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=hIGbnKyMg2Vc8qYSqLEesY4B5/X5WvTuzlJNw89b6X4=; b=j4M/2kaO67JnPEcLDmELsyQXyspNDg4+W5wLhbxG5ulEYvvi63xZ1w0Y9WlXheK3slDIjifUF13gBrctdyjCTjmAhjNIZg8TzDOC6gZNFhq7FDOfsS8+7DwRm/6UID05586tTjGV4W3/sHm8Nb3Lkg4spUKigYuLFKtNk6X87A4= 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 PAWPR08MB11203.eurprd08.prod.outlook.com (2603:10a6:102:46f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 28 Oct 2024 14:54:54 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9f32:dc2a:5bec:aeac]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9f32:dc2a:5bec:aeac%4]) with mapi id 15.20.8093.024; Mon, 28 Oct 2024 14:54:54 +0000 Date: Mon, 28 Oct 2024 14:54:52 +0000 From: Alex Coplan <alex.coplan@arm.com> To: gcc-patches@gcc.gnu.org Cc: Richard Biener <rguenther@suse.de>, Richard Sandiford <richard.sandiford@arm.com>, Tamar Christina <tamar.christina@arm.com> Subject: [RFC PATCH 2/5] vect: Don't guard scalar epilogue for inverted loops Message-ID: <Zx+lvBVnlc+yMcCv@arm.com> Content-Type: multipart/mixed; boundary="DCNq0bAiUqmm3A/e" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0214.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::34) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|PAWPR08MB11203:EE_|DB5PEPF00014B8D:EE_|AS4PR08MB7408:EE_ X-MS-Office365-Filtering-Correlation-Id: 0695bcf8-8928-42dc-1c53-08dcf7608453 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info-Original: FhLbVmSFKqGpMmCrQK+Wgji39tzHBkcvSWkUc5rqHdjhkXXUFeicpt88I+ROYMhDwgWoiEspVSlFBG90otMuxXtDzspH0UomV1IqeQWL3LgdaIeh4Xev0n7Zyo8hFgyEAiPpWYScGh6bNppwJskQqI5sdlC62KCY4KL/7ltfHW8BFHILV1pVva+nEp58ijBdNYkPHbOWQ70keK7kO+WfDTKEXEtrd8TsvyMooiKFxdx5QfusR8ZQ97yhQ4yuxRb/77+NuR03nHcLeiZqYPwYFErsmU4jO3AlJlyxbks5En/j1sGd5beCEEcgNcEVhUvuujA2EuCJkF26FmoCxUMHo42RGlTbdBOU/H/wOyqbeV6T42s0lkbVtknonBk/eZDHbiX1m3lYO3Q/wsiut9LiO/xnSwtbxhjwuEG2WpXGEvZgESU7IB+O//eGDrJeKIoC34IqThsTrjxMOPI7CmMibJAKLiVWyG9uQo8NIuK86nJzPRTwxeluU3hMqGd2evjybpkhjcRIda8xTQ0ewtpETSmmg9z/glkIwmETnnrGFL32D6QAtNfumMi1YCbseIhR+xCwzrZl8zP8RTeIs1ei8dxZxjRsPMsH4vm98yEnUwElSmTaDPsl/4qbH/68/5McN59pjTcvM89u7z8QMTj2eNZ+hYbIQRu1wjRze4HwW9rq+N6bxwvsErnga+J0MSN9+LhQULSL0U5wxWkeN4oNGzcmA7zIj2/7D5kvgL4sZTccx/9j+n7tnK1TQy3vshtlVLumYvEWtR+HhrOaJ2L2Py5EVZb9jVnc2xFS8gg6K5v/GFuonO2V9jrj7WTTJNoubXYYlYtAesVkKyekFWc7omNaR69j/tZvwoqMbBqMAv8eSYhY0zncyvj4XE9aT1aWnoyOUDvBAxgoVAVoBAcAoUmH9l1iAESG+xOkByamK0UQLtv44LiDAZ3bKSOug6+gwzpQ0Me8mt6/KAvPDlDRWH5gW9qT+14qCa6vpfV1vRd2rX8uo4NcaU8cojKhnbwyg7WcsPlNP8IPcDuOKq+2cXPRXzOyeZ7I+Wyg2rnBGAOU7PfZod9lBAYRr+Tp/mwnU/fMfscSyZE8SlOaLQtMok6zOCmyfrt24prdxFt7IQVPNxsxtyNPSCvsXszD46zMYlDtpS+WZGLF1cnsYOC9DvoZka2/yH4KHj3MR8B1lpAKe14wznHnZs7oj2ovKW2Z0Z7JHWTFWA7sioPL1BW6Tw2fx37mGat8MRlsCxG75gLr5b+LRr+nxWcS0+wCnBspCkmOFTFZ4I5RYeYXtGBbQbI4P9QpGaplWhupifc0lrDgy/3tuALjWx0W9Zf7Ij4n 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:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB11203 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-SkipListedInternetSender: ip=[2603:10a6:102:33e::15]; domain=PAWPR08MB8958.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B8D.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9ce10a90-1b5f-40ea-5cd7-08dcf7607be2 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|35042699022|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Rj81OeruCoXtfTPK7/IHIu39KLtn+i/?= =?utf-8?q?DKGezlY+iooXJnLCjTOZdLYu/Mt9zFr+hoR2IjGSlSIf6gvCuDQZNlHxJa+RT2fVR?= =?utf-8?q?RKM7WbtTF057k6HexEcfBqE48U6sEqxGTxddgqCGPC55LlQrMTJdiL4MM/HARQbwJ?= =?utf-8?q?/HPxxt5oDGvBxpCqoLQ0j+L6XYccKMibsmkMXvN/cz+3oywxdUjYSdxIw9cu6ZE7S?= =?utf-8?q?0OoUvOmxH0LCwEWJcLkMUTujJzWYKIRNOAWv46Y10qdlhSGS6NcN3/e2kNiCTmGpl?= =?utf-8?q?bXgRgLvlUCDHSh5wDCOIREcWLn6was7tbcT3TrTz6o6gVh9EPlWdX6d+sTeIoC2Ki?= =?utf-8?q?1Xq+St43WQx9IsHFVxNScTurJfXE5I4VwWxfcY/KS9sBkhytaqVUzzmQBKK57S7PQ?= =?utf-8?q?ojSNSGbpWg9WjgyXxPyJBUz3Qq1Z30CPQ/+2NPZ9seOgNjRcihTB4LV++7D1LjjiE?= =?utf-8?q?E5qvXKur6fDsKE8nXm5AdrG2n8Nqi/hPN3JQLCiOtzQaMFAWjpFWH3idx3sgcfLRI?= =?utf-8?q?4SpUuSo5cHg8t6C2nb28uZfhx7RG+DdUuANy4b8/dlS2h/GtZ7UoK3Z87UhPswt3l?= =?utf-8?q?uhabHh0ngCxY/I9NBbrCMeoAIPIPThXvyUc3yMjMYzx9A3iYGymmiEfAu7/dwrM0Y?= =?utf-8?q?xWiMi2lEmEgxFqguWx5FJvQ30dIjPoJUi4Na0+6ZHomG4SmqtqNqKPFEuzsvI/qQ+?= =?utf-8?q?O2nbHYw/V4+IRoQtb93ONTdfpW7MsA4bGuM3LpbjDb51brLSKmiiweVqKLm9SoM3b?= =?utf-8?q?JoRRrI8gyQF36vD9LTmjU6iRH4vJwWfxE+GjJk0zosc6lhOn8laC2B+GMk86mtsm/?= =?utf-8?q?NhRb/f/ZBdnISZPHWUO5dDPGh5wVTAdsGAgvs+zsBksPdajwfqMCe0TPEJigUNstD?= =?utf-8?q?t8MJ25AGRvE0xP0WvleIdJ2QjwdxXCPO1NDJOH9LLdonPu4q2Sco7pxDqPvWlNcs1?= =?utf-8?q?AbobsXk8aUUIkWbjQApsG5fgcHPr4MnR/ICphmL5IjxdX26FPuUAs5RYXuYikVd8P?= =?utf-8?q?kbo9otv3fh0japJt8FVhP91MeW4KpRYqiD/I7dKfmNn1oH1YDameXYRKzeJncnFaI?= =?utf-8?q?OVqghZL4njbxmZKSfYdWgU7kee4VWIYulXxt1N4bOCw+KA6O59UkJNLSkS2P3pI5M?= =?utf-8?q?MvxODb0ThRUCnJqxUI/VG2De/QUT68Err0ZECjI9RWHcnwi3FoZDJ6GduD6yvAz98?= =?utf-8?q?lJWwxvXMPEcW9ladXBMSoM+0R390Pa4qlFHBkCDyb01milcV+9R1GdYLm8PfHjek/?= =?utf-8?q?8JN4iD4/c4s+lq6EY2MtWci1RKIVwMIS+eL8wf8Yd+PfS5thg9xeYoRIWjF7MjNq3?= =?utf-8?q?HZ5JiIVZS5t6RrJpQiGimg84B0D8x/iEQw=3D=3D?= 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:(13230040)(376014)(82310400026)(35042699022)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 14:55:08.8571 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0695bcf8-8928-42dc-1c53-08dcf7608453 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: DB5PEPF00014B8D.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7408 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, 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 |
vect: Force peeling for alignment to handle more early break loops
|
expand
|
On Mon, 28 Oct 2024, Alex Coplan wrote: > For loops with LOOP_VINFO_EARLY_BREAKS_VECT_PEELED we should always > enter the scalar epilogue, so avoid emitting a guard on entry to the > epilogue. OK. I guess this can go in independently? Richard. > gcc/ChangeLog: > > * tree-vect-loop-manip.cc (vect_do_peeling): Avoid emitting an > epilogue guard for inverted early-exit loops. > --- > gcc/tree-vect-loop-manip.cc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >
diff --git a/gcc/tree-vect-loop-manip.cc b/gcc/tree-vect-loop-manip.cc index 718652f9bd8..8eb9970edbc 100644 --- a/gcc/tree-vect-loop-manip.cc +++ b/gcc/tree-vect-loop-manip.cc @@ -3537,7 +3537,9 @@ vect_do_peeling (loop_vec_info loop_vinfo, tree niters, tree nitersm1, /* If we have a peeled vector iteration we will never skip the epilog loop and we can simplify the cfg a lot by not doing the edge split. */ - if (skip_epilog || LOOP_VINFO_EARLY_BREAKS (loop_vinfo)) + if (skip_epilog + || (LOOP_VINFO_EARLY_BREAKS (loop_vinfo) + && !LOOP_VINFO_EARLY_BREAKS_VECT_PEELED (loop_vinfo))) { guard_cond = fold_build2 (EQ_EXPR, boolean_type_node, niters, niters_vector_mult_vf);