From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 90F073856944 for ; Thu, 15 Jun 2023 20:14:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 90F073856944 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-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-519274f7b05so2885949a12.3 for ; Thu, 15 Jun 2023 13:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1686860043; x=1689452043; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WnCfJXsN7jwnSLRf9zvh/Bvbtq+dWj6wvKycsFdPHyo=; b=m7nB98vmIsZRRDOGI9le9Qjze2pe1uyEhQtFKJwOHxxezXtO8f6SbXhFxHEwUtqfT2 L0EEDkHBVS/K3ozzQU/fWgwLkX4iEw2yr7RvFNc6CjtVSEVZEWz+klnFJCOI3AMv4S+c K/JQ8uoGtZZURG/dW2EuvGXB7moNUdQtwHEDqB9K/3LycHdmgK5k4Snwmgoir4+koyYT G6VjRSBwOtmqG/qEBIWLJthQQHAPrWzr5a8JenWMQnrtdW3QEN3KhZin6EgS4nPe0ecM 6/OFvIWAmF3qk9bnvy2mfIRf0Gsdj/WgVWx+QouRhyYt73+Ws/da+Lt6oQkns3taIR9j 4JFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686860043; x=1689452043; h=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=WnCfJXsN7jwnSLRf9zvh/Bvbtq+dWj6wvKycsFdPHyo=; b=J9s7zqdOSrjdY8bC0ucjtG65xa5y9gQxHFTMyCWlNpKYvMU03hkCCj6Bj+2kU5Dh2a 92b6One4PJu4gwmrvRe5i1OeD+Ry00xVNHlmQQTwWqEBrJsuVEmoXpdjUEvV7LC1iJfH R4fQpjMdlVP8HRd1H8lt4xXs5bWPRaRfMwhs4ewWJnVFvRKVEGCOg150aHj9UmbdmAH2 JA7byccNnx2Xx8lGLvXOv4pMhnoTH9sQntc2uASn5wTIZPh6ovK9zgFPu8h3WQ1xfb1e ZpEjN8Fd9m5SbIx3rAeHDu84bILJBfICv0b2DZwJpmR55GPFQeFxpzUgr3J7qVDqfAOW pi1g== X-Gm-Message-State: AC+VfDxcm1Ef7DRf+LlSDLJ8qSWryqL0PSz8LKZgsT1EfDoO3hSamj2a b4APtoSkw34TDGZY55fWPBhE/zNfGoQKFBzufx8COw== X-Google-Smtp-Source: ACHHUZ4vkkMLtgT4IBfAut6K4vFVhGnySPz7COYIbdz06h0JbtETxmgsktQR9ZT2imcxYtObBF10U/tJzyHMD1TORBE= X-Received: by 2002:a05:6402:2027:b0:518:73ee:c1a6 with SMTP id ay7-20020a056402202700b0051873eec1a6mr5848301edb.12.1686860043192; Thu, 15 Jun 2023 13:14:03 -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: Philipp Tomsich Date: Thu, 15 Jun 2023 22:13:52 +0200 Message-ID: Subject: Re: [PATCH 2/2] cprop_hardreg: Enable propagation of the stack pointer if possible. To: Jeff Law Cc: Manolis Tsamis , gcc-patches@gcc.gnu.org, Richard Biener , Palmer Dabbelt , Kito Cheng Content-Type: text/plain; charset="UTF-8" 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: Rebased, retested, and applied to trunk. Thanks! --Philipp. On Thu, 8 Jun 2023 at 00:18, Jeff Law wrote: > > > > 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 propagation. > Thanks for the clarification. This is OK for the trunk. It looks > generic enough to have value going forward now rather than waiting. > > jeff