Message ID | 20241222162446.2415717-48-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp3035928wrq; Sun, 22 Dec 2024 08:31:23 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUGnjD9u4Kc6mpAccm79bMHDubr/nGDvBbFirfShW6R+GeD9H6P9Z7dXzhKmsJqlXdoTKc56g==@linaro.org X-Google-Smtp-Source: AGHT+IE+vR3Py9SzUzblf+ODegDHCv10HgIK8A+z5esPnvhcV0fgjzFs/zraWEn1cuM55As1HtUi X-Received: by 2002:a05:620a:260b:b0:7b6:eef3:aeaf with SMTP id af79cd13be357-7b9ba5edfb3mr1714722385a.0.1734885083447; Sun, 22 Dec 2024 08:31:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734885083; cv=none; d=google.com; s=arc-20240605; b=NW58Gw9JyGLIqGp9KrHCji53A37GNT2ZxNmRzEjhcEbJImTJ4sMS2EFw9CwrT0eqvV UZTrbnvcYs8fs5hDiUipb1ld9SPN0gU4hfqR1Bn1RBY2szTtp6G8KT9M1IaU9bF92A+R RIcbRv6NUi4F9IPcdq8mitHvFizneVXAeZ91ikvfFl2iNRFsB769lYxojmC4cMjAOdot 0UpzVd22E4hkg/y0wOsIMuK0cjkfBb181pcmR8H8XVMmi5L8gRqDFOmrIWUWwNS2/apA MxvatoJuajuwjJZ7SE2I5tb1FQb2046xBXYaUYNYQLDcsIraLeSYuMnXsUfPRO4Ap2OW +KiA== 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=OyI7W7fnkDxR10eAmkTI0DbupaxplDdtdBvj4WSj0sQ=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=V/0wDjeepM5dGNU+L4j9YYlDbUXd7LFTI790tx0TGXgSkViHA98+M5PdO4b6+0lbNp lGiMDLo0SchU2pc0dT6lsvSRyMLG8w6j5r/d38X+xS1OrlKesKDAUuHbV+JlvnfC3Tn3 pZOY37siOVXvM3GQAahcTQF3TZdH3oxH4G6dPLRIch8+Frh/IF0sh1IenwGTtjo1xJly GVGKMdDSpqG8snr55nUMdtj+cIyOfcZyhnSOcuQmknr4xWD8CiXzsWjlpwf/fGoA0cFl FnWETvwJrF14lkLbRKdC9fdxzpH4N4fGAOZQ9RQLoXmlHmoS8yRU1vsL3WM0trcb2uGx osjQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H5k795EQ; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b9ac577450si888936985a.710.2024.12.22.08.31.23 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Dec 2024 08:31:23 -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=H5k795EQ; 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 <qemu-devel-bounces@nongnu.org>) id 1tPOpW-0005L5-62; Sun, 22 Dec 2024 11:29:23 -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 <richard.henderson@linaro.org>) id 1tPOoa-0004xY-3Z for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:28:24 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tPOoX-0003jr-5x for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:28:22 -0500 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-725abf74334so2918551b3a.3 for <qemu-devel@nongnu.org>; 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=1734884900; x=1735489700; 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=OyI7W7fnkDxR10eAmkTI0DbupaxplDdtdBvj4WSj0sQ=; b=H5k795EQlwdYr9CSkQr/eFB+MFwSUDgKT5y2g1ZpgteeA5tQ+LyNGulgC2wPfr81nc dQusNauNnMgkft+Xm8BHxg+oSorTjwmC7ArDwGXNCnnpCvZ/VFH4WqsGL7punvYA6vqo wd9JFRL4K8LJ1EKdhMJ7wDOu5/mV5AdioAcL2A1DH93SzODF15NIujehVDa4Pq/6xWHo OZ0WXzdUqQnGhPn4cCBzjLgnqaY3lajlRnd07zcDPkHC3YRle6ShID+MW662O4fJ/rl7 RKjTqijH9EwfEGlK9PSKK4E08HDkQgEEj6/9DG4XcWbYkpWAQqUwDKQo6MSsa730PITU Zt+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734884900; x=1735489700; 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=OyI7W7fnkDxR10eAmkTI0DbupaxplDdtdBvj4WSj0sQ=; b=DNDTXwYnhCBi0YeOeRyQb3HXbH+ryXkgaCJTNGeny7aywjndxZWpkxZhVhuXtTysJu 98JtYun2UMxVSDDtvwnVXvBQ8mh/ZF2a+jt80IrMuEcIAtcUUAgR63uGU/AxF8P8cTke TEDh7XdFYdVCboTXSgpdi39I5Zv+eWEbtd6dAONYgmOmNG8YWsf4btPKmTCyJ6wlfkEL J1d1eSEpO+Wcc1Ejwe7M5oRs3Iyn3jaNG11PbKhV0AdhZDfdFQ3JweuLZaJTXU2VTdd7 9OJhJrNovhY130L6ddsPi1MSrVpEJtm1EgiA7McKfvvrlRtmR8jczckNkMOoQtLdfjqE kXuw== X-Gm-Message-State: AOJu0YyWFO5idDAgPpve7grWJLVrmJJUOfFV0mrc7PM9lhFkR/OlZBdx zOpBfuxH9B7z2kzBC1vbDrOWOMnwaK8vo/OM+IvjXb55yCMYVxj/dC0jVJ3f9KKNMDfGhOWhVf9 BgOc= X-Gm-Gg: ASbGnctCyOyFXrgE97grdYQVkinBmR+uws4jnS6JPCJ/axVpdX/jo9wPNTYFaqqZ17v lU2Mena//t87IqQe7bWzzuSM0XXPWZOOTd3M79Tv8uoYe5RnEHo+O1a7eTtiGNPFLXikugInMBX j9XKLlHbWju14ijTaddFsycYRiL58u/cNmkl2lYFMeyNoFuU2mV06x2pSkrvCd/FKdU+IRTWdo9 1qGgFsAXBWNvQPdINuMC9sDwobtJen2hsZwPoxNlu43SD47q7w/+UJI2wegI50= X-Received: by 2002:a05:6a00:1809:b0:724:f8d4:2b6e with SMTP id d2e1a72fcca58-72abdd2ec01mr14669158b3a.4.1734884899898; 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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 08:28:19 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v3 47/51] tcg/optimize: Use finish_folding as default in tcg_optimize Date: Sun, 22 Dec 2024 08:24:42 -0800 Message-ID: <20241222162446.2415717-48-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 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Remove in-flight mask data from OptContext
|
expand
|
diff --git a/tcg/optimize.c b/tcg/optimize.c index 3bb208d6e9..7481b59d59 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -3079,11 +3079,9 @@ void tcg_optimize(TCGContext *s) done = true; break; default: + done = finish_folding(&ctx, op); break; } - - if (!done) { - finish_folding(&ctx, op); - } + tcg_debug_assert(done); } }