From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by sourceware.org (Postfix) with ESMTPS id C15123857B9B for ; Thu, 8 Jun 2023 06:16:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C15123857B9B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-55b00ad09feso171844eaf.1 for ; Wed, 07 Jun 2023 23:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1686204977; x=1688796977; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uFMJq25qOFlDdAyUDYCncREEed3zxtyg+T9CFHlAbto=; b=HnJ6BRTWA+hL0Go72QaLNhUE8KunwPNsIcfgeIdvibChk1sxhk8slV932HA//j+yHV jVws/CKz6JDF4uGcXVw5qU6SLDqayO1U4NPFurb1/imLw4u5ZaMQjExl3pPdOVjDaRGk XmW+UZmE+AgKOohNiqPtpt1eNJqZ5tgkizHtNunICXULZIWAJDS4QZi3E1tYhgik+EGx eMvTxXeBZbK2MMWbs69a1YRLGNjAjX4p8tQVGNLayeygVWSua9s8g5LPgAt2Eo4ynnUV MbU2e5et6rY4RTgI3IkvPqadlUZeOopfg4GXut0D51IBS3poIn+ftVpk0BgAqcauuyhi dHYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686204977; x=1688796977; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uFMJq25qOFlDdAyUDYCncREEed3zxtyg+T9CFHlAbto=; b=ZivKoy1Asfz/zz2cIBTE6WdeL3V3kpZs5srgjGDynwhqKbehRVgTwGOICJp3GmIBF0 +z9pv8cABczXC0wUN2Mz7v68/wcKMPUNOxhFVx8S5k1pNuCE/OsNrsdIww9JoJqddNzd R6fUVCgb0VRw+xk65yGQ9emy691IHR+Wu+rHSFvgTR0sDSiGEZcQWx/wL4VnTZkoZYPm pbxsBqKm6t8fUQtTe1s1/qJUiKY1SkW2F+IbRDVX8kffmQZ728Al+sK9DmmJU8shEMi2 0cRSdi1OGrC/XZACozsuDrJhFvn6XZasUo6QhdqHzwk9yO8hUnTt1w1azJtSWHQ7mckA kRnQ== X-Gm-Message-State: AC+VfDxYWwJPFJVtfgHP4DjO7Cc4O6x7LNjnSuolU9xoDXjBWtzvQyGW LtjZkOVvwQhTvpHu7wpHcS+4+48pc9ztjSGAfNYe5w0SCq75VpDo X-Google-Smtp-Source: ACHHUZ4gmJWr4qFcMZ9rq+f+4eKCfKRt1MqAWszv+JfDx/zT31Brl+CIbd7V10degD9h9wd8r1dWOviL8ZuzLViWAG4= X-Received: by 2002:a05:6808:1d8:b0:39a:bd0e:449 with SMTP id x24-20020a05680801d800b0039abd0e0449mr7670033oic.26.1686204977071; Wed, 07 Jun 2023 23:16:17 -0700 (PDT) MIME-Version: 1.0 References: <20230525123550.1072506-1-manolis.tsamis@vrull.eu> <20230525123550.1072506-3-manolis.tsamis@vrull.eu> <5836d561-2986-484c-8d9a-744c948e8602@gmail.com> In-Reply-To: <5836d561-2986-484c-8d9a-744c948e8602@gmail.com> From: Manolis Tsamis Date: Thu, 8 Jun 2023 09:15:41 +0300 Message-ID: Subject: Re: [PATCH 2/2] cprop_hardreg: Enable propagation of the stack pointer if possible. To: Jeff Law Cc: gcc-patches@gcc.gnu.org, Richard Biener , Palmer Dabbelt , Philipp Tomsich , Kito Cheng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Jeff, Yes that one has changed; I changed the implementation based on your feedba= ck. Thanks, Manolis On Thu, Jun 8, 2023 at 1:18=E2=80=AFAM Jeff Law wro= te: > > > > On 5/25/23 06:35, Manolis Tsamis wrote: > > Propagation of the stack pointer in cprop_hardreg is currenty forbidden > > in all cases, due to maybe_mode_change returning NULL. Relax this > > restriction and allow propagation when no mode change is requested. > > > > gcc/ChangeLog: > > > > * regcprop.cc (maybe_mode_change): Enable stack pointer propag= ation. > Thanks for the clarification. This is OK for the trunk. It looks > generic enough to have value going forward now rather than waiting. > > jeff