From patchwork Tue Dec 10 15:23:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 848792 Delivered-To: patch@linaro.org Received: by 2002:adf:ec08:0:b0:385:e875:8a9e with SMTP id x8csp389941wrn; Tue, 10 Dec 2024 07:36:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXAHyeR/X0RvUvJylx4UUA4dRCIRM2ACeHCJjB6iTdch5oLQBd6+ZLV1Lgqct2jcqOasyF7SA==@linaro.org X-Google-Smtp-Source: AGHT+IEsAmP+sN3I0k6d1LLaDtx3k7eM0vXD+Xasy/RTRftuqHzaq+lqnvQh5DboCD3WrE7070WN X-Received: by 2002:a05:6214:d83:b0:6d8:898a:a508 with SMTP id 6a1803df08f44-6d91e31453bmr97470316d6.16.1733844960068; Tue, 10 Dec 2024 07:36:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733844960; cv=none; d=google.com; s=arc-20240605; b=gvjfE2TrNdW1SrifamuSHG5JubHqHep3u5YHdkTKdAxaKuhg4IG5aB90KLPrP07qWV BoBBtb0cdmWs8Skew38BIwHqOKxhxg2YQKK2IiHjTbjNItMRxSgxb94tsV1egls94omX cCIOuJ9q+6fcPgiLPI3m9m3mwedwWohnpnIq3RuaUgVp3hQJefbQ8PaNWATSG0/taQcy /YPBUYKjtItlGiYa3/o0x5WoNL8upTQVDKbtb/aHwdbV4uBnBdx2TSpfiT/DppyZlLGu 9BRV7uTn2QhYsar5g1znlgrHRowc92TMBDfvMuWPLrh1B6zIHi1cFS1rvwPirrUr+8/W Fjjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=rlF3+b8Ya/xkhDBFRDkErRMqlneQEiaGonizob7aHXQ=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=E1TflrJ3I24i1m/a8PZjXjm8vPAzEdpUGiRQOqKv3iliZmqSz8wSxcrAYtZbc15sE2 /y3x7pleu2NYwpVa00NABA6SHR4j58jB5mQCGev2/tldr/W8fA5FCZk/jhu7N5ilWzJZ ENLRcyH23GW6coG6jPdPUsncD0Y6aHBzu+TPo20SkxylTMjEacd6zmu8LH9yXt5dSMcg rZZjsY8WtgL46u3Tpr913NvrKaiE86XTy8JUSo8EjH70angZmnVTjcHDlMjZ3f9IvDtm UNvnkDTXXVY6Q609bFeuOTuxDlYTf+mMKVoeKozkJjTYEtB8dPY5llAZU9RW9lokr2HL 2n4w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqTytw+P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d905eee3f8si76088516d6.424.2024.12.10.07.35.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2024 07:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqTytw+P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL29g-0006WF-0n; Tue, 10 Dec 2024 10:28:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL29a-0006KN-Mh for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:28:04 -0500 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL29X-0000It-K2 for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:28:01 -0500 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3eb4d2b39eeso717746b6e.1 for ; Tue, 10 Dec 2024 07:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733844478; x=1734449278; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rlF3+b8Ya/xkhDBFRDkErRMqlneQEiaGonizob7aHXQ=; b=aqTytw+PRSKYsYDKDhlOujTAHze2HCbUcZra74XJGCAfRChIT3F0eZLuvogkbnyu2C 4x5fhbd92F1/OsrglGgkgRZWDZB6W0WrsGoRUUscM88drBNDblYc8oOQVQIY5misr0Ku /AsmfbzLGYf/jG0a7qQENzTjFgE5qxIQP5gBlls4C7k47rEe7br6ACx2RjsGdToP3CSl MNhx2XKEGdad2B6Aor0k8FKieq/RjWcqgiPm330Mvqcl8RltlVWag5ISXCOtzsjUu3vY OpBNr6+QrjHLX6D+jDLtSegTkr04wTfkEzglKWhBm5oN5NaZ/Wn5fmOpSm1QJLjo7K06 5rPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733844478; x=1734449278; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rlF3+b8Ya/xkhDBFRDkErRMqlneQEiaGonizob7aHXQ=; b=BidP5XQa2bl1YWJdHXYiyiuVWDUfJT5As1/WrTQ/SUFzWCQz/7cHYWdRwdTM3xAA9R JOLJ7bgCPzdSvPy5l9Q+PyjvWyNazHwjhPD4rkKwCYlwFzLXP423BpO5sV49dYhJLko+ /8gYED2v1TCz6fOv5tya2heya1ApwzthEl+EpT8Qx+SDcUs3MkGaKSeXf3U6rT9AU3n2 NWts7ZhMYi6qh20yaBGtq6JFW3esJEB0LNDH3FMvJK4cjNC4ejF5c43uVL8scC5lLOsW 2jAiB8XC7pqFFE5g8s7CCu8m+bYiJ2eO9q2CTHA8DeYDbOv2NrMAXoSXu6LLdU0mKdwO /LQA== X-Gm-Message-State: AOJu0YxPNOBFi9g9XTiMYTUD/7aaPnF5iabUKRAv+skAJQUjN0c9iU4m tvrjF/u/fwqu5OdjvfI5xZ+wkwnvaTt65VPoEo0UndKsuCLHOfYTrjfWBHsQQvFcvrInd9sX6XL rBYu9CWvn X-Gm-Gg: ASbGncvAkc8zupMcUn8Jp6NdtTYwYdo/9ZND8ecXSkn/UgFUsQfkVB/Ua4K+gFgYcYC O0dW811OVjIlKl/0Ri9KGe3erVUswc+GNoHc5REBuFoXpG3thxBUJIXUQL1etj7M3vR0ETHnBhD iPivsWlPbH9VwjnZtiVc8sxgwz6d/ezEi9EWSYGbQrLNTNTQK8v2KnxNih7Jvfz+0JrkTvxuAbD owoEGJjjG9Y9JK3ZlWr4w1e1N8l63LzWuE6NJP6Z7pm120kt6/jbaJQHb6jqg== X-Received: by 2002:a05:6808:1408:b0:3eb:4b3a:d578 with SMTP id 5614622812f47-3eb66f52790mr3749172b6e.30.1733844478517; Tue, 10 Dec 2024 07:27:58 -0800 (PST) Received: from stoup.. ([187.217.227.247]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-71dc4a0267esm2785955a34.52.2024.12.10.07.27.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 07:27:58 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 40/46] tcg/optimize: Use finish_folding in fold_tcg_ld_memcopy Date: Tue, 10 Dec 2024 09:23:55 -0600 Message-ID: <20241210152401.1823648-41-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241210152401.1823648-1-richard.henderson@linaro.org> References: <20241210152401.1823648-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::22b; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x22b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson --- tcg/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/optimize.c b/tcg/optimize.c index 4cccb3b0cf..46116970f3 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -2674,7 +2674,7 @@ static bool fold_tcg_ld_memcopy(OptContext *ctx, TCGOp *op) TCGType type; if (op->args[1] != tcgv_ptr_arg(tcg_env)) { - return false; + return finish_folding(ctx, op); } type = ctx->type;