From patchwork Sun Dec 22 16:24:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 852949 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp3036985wrq; Sun, 22 Dec 2024 08:33:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU99Mz6e5x48oDpNX8Ev2ldT4ENF+umSiFwrK5/ghWzb290dxfFGyGKol7IGuUSs9nK2GU0qA==@linaro.org X-Google-Smtp-Source: AGHT+IGhV8R0EkRMRIpedAp22hQzx+VrEVWIwSAoXl4ZozCd/LLBTFf0IU6qgq66G1M/u3EfGH3H X-Received: by 2002:a05:620a:4104:b0:7ac:bc66:5efb with SMTP id af79cd13be357-7b9aaad5e1fmr2272338085a.27.1734885215455; Sun, 22 Dec 2024 08:33:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734885215; cv=none; d=google.com; s=arc-20240605; b=kyvd2Oid+zw9eZA2G3kefq0dm/0O0TjRHAckYb9sSTz6ChtMgO8YZAA/PKmBpKZMLu LLVeK2ThkmjnwtlpE13wcImGI8zYLTQbGlBGIEpVO6dCyjF0meIiOfiNG6k0opnq+GPY SS6B6hgztGJW0iVBymlPFjliF1m2R4yxDGnMUZmQwiTX7cFzNZ+1qsfIqlzT3Ikkn6Mm BOrQEy7OxBcl7SF648Rh+0Gz3riwgEqPlSGO1vWvAeGt0xd38yN48zSsR1ARbDIqLYdg UujjKaApSVDRdXswFO3aR4PGvWo/JP0/2cS8oJ00rXQYm7aUei3osY3dOriQVHHGeuRY IgnA== 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:cc:to :from:dkim-signature; bh=8zVWcITCeVJyEn34BQ871RDWCXs0aBbyojaqRkW2N2M=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=c9qqPa/fnjyujbJFzRdXE06QYvxnlEP32EUeQojGolMa+YxQidNV3fmUyocnAnmvt9 J2SHLPfMt7HmTKVCiD10txavyy8nr6vc3VHCMBfhGT/85mLKL+DorhxmO3fh7WdKTU7/ 3B5XN1544b6xf6u4rl26XxE1DIt9bcRNBAtak4zCpPrbn8ixUAvQ1akGmNESSv2Kh8Pv oZHp9VOoWul3Hc7ABRXwCM3sK0rl+tOG+V3PvPDKVSsfP58lP5bk49gbhgf/pI7NJi08 Re0OCzzWF8IhTOHdY3pfWBUYr2DUTaCy4viGu1yPrCNX/IXRNzyssv43ICicihNLP34R fcqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y5POr8X1; 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 af79cd13be357-7b9ac52f07esi908982185a.609.2024.12.22.08.33.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Dec 2024 08:33:35 -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=y5POr8X1; 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 1tPOpF-0005H0-S3; Sun, 22 Dec 2024 11:29:06 -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 1tPOoY-0004tg-6v for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:28:23 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPOoW-0003jh-M9 for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:28:21 -0500 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-725dc290c00so3427392b3a.0 for ; Sun, 22 Dec 2024 08:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734884899; x=1735489699; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8zVWcITCeVJyEn34BQ871RDWCXs0aBbyojaqRkW2N2M=; b=y5POr8X1p3NIkJNRgI7xISqANSS51bGyhBk72u7fmDzNwpRjJMd7bIxSmZyYFHzF9Z 9QgctC54l6aDlmrRvDA795ES4/DDx0q57j9PnQzSX7Pj+aA5OaC8B3vcQUGWZsXYiRYO SSAbRKRdgN97Mmcn4AEpzKe/JelbunFSYT+cC5pSVUIIoC4uYHVeNd3x+HSi3FHYSy3Y HqgVhnjAvcZjmUg/synDow0rHt8qrFVd7Qwgahosw4eM15xWs4d3TzZ+pi8YUzuMAaYf UEAc7+CNDPht4u6QHhAceVQlHCV9eCuUnaaAlVsEK86qcBfEoLV/SWDdDENsFQB6TsSm cq5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734884899; x=1735489699; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8zVWcITCeVJyEn34BQ871RDWCXs0aBbyojaqRkW2N2M=; b=P42st92SGobY6hOJtIJPdcPbnhaFGcRFTBQZIb+0aQqweIvRh6YDsx5gtxtMVTHH2H 0CP0rpob2vCTCIAC6w1EFwSY5asCme4+4w0b2padIuyQ0fTsoFKyg+YnfnMjyKOt7T0X tejvt8Czv6mJdwjPL63ulc4kNvjov23JqKN9uJ8V0hgUsfdCraMYs0Px1Uliq7S+OhmH IQ5IXIEh+Mw5aBSfQGE3I5ko6zDtLa8X/a1h/cwwTuUNnXS/cIan+NEzvafRl9I02PLm pG6ZbWVzOlPhGVs+g+7xze4LMmv1VSr2/Dv6TSzWa3ZvXDuZHP2b79mrpzyj6m8T70aC 9f7A== X-Gm-Message-State: AOJu0Yx9AMlrY59QqTorTssFVvD0XN8DI+9Dj1vZKKj8VsfDNFuBZ5qk z9CGkS4tbNoafJISPVc2EiyZy6fnK8w2HpWCvWJJK3kNXGGCNk4jJmo85qApXjuFn+MckYN6Woo xZIs= X-Gm-Gg: ASbGncsyZhrGAV5M7bWPk62Scbjp0JGutnx+6jkCKJdQbctx020b9xEMW8WBX1SWTkw ZwkQ+lTLuSVM5RvUSo68E6rvryAkHqjR46T6oIVnTvYXjrZ7PcxG+9Hy2/xuf4VP1GlZjb/4njF zVqXlJsIFUEmHbbkc2INbm7679JmS385ZIg3mwK5mE+dlwe0SYZwfoZHU2F5BBu9bhLeH5e9Gpw gITyq42yuGjvEZmJD9Ter/GbbURJ0cOqXXsSo1X7ghexM7ruECfA4arXCVkoF8= X-Received: by 2002:a05:6a20:7290:b0:1e1:b062:f408 with SMTP id adf61e73a8af0-1e5c6fd3cd5mr17190220637.17.1734884899122; Sun, 22 Dec 2024 08:28:19 -0800 (PST) Received: from stoup.. ([71.212.144.252]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842dcaca43bsm5848808a12.66.2024.12.22.08.28.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 08:28:18 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Pierrick Bouvier Subject: [PATCH v3 46/51] tcg/optimize: Use finish_folding in fold_bitsel_vec Date: Sun, 22 Dec 2024 08:24:41 -0800 Message-ID: <20241222162446.2415717-47-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241222162446.2415717-1-richard.henderson@linaro.org> References: <20241222162446.2415717-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.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 Reviewed-by: Pierrick Bouvier 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 0cdbd1e262..3bb208d6e9 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -2816,7 +2816,7 @@ static bool fold_bitsel_vec(OptContext *ctx, TCGOp *op) return fold_orc(ctx, op); } } - return false; + return finish_folding(ctx, op); } /* Propagate constants and copies, fold constant expressions. */