From patchwork Fri Feb 3 22:59:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 650115 Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp1096195pva; Fri, 3 Feb 2023 14:59:47 -0800 (PST) X-Google-Smtp-Source: AK7set+ZiiblXGDfsHKBdMpXnKmasYoDUbanQQxGBm3f//6x/R/Zlfh3a8HpjWTnDgABqCHbigiT X-Received: by 2002:a05:622a:211:b0:3b9:c44e:361 with SMTP id b17-20020a05622a021100b003b9c44e0361mr16469706qtx.64.1675465187236; Fri, 03 Feb 2023 14:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675465187; cv=none; d=google.com; s=arc-20160816; b=aXpztjT7jEaRMx70pj1HhLyDKpdF538J0Js8SP80b6kgPnHSB9CUhqfJNITNK0Lnoj ZUDhppIdZwFud8ZmhyL/fffmm8HVokhQjOTB9sR4q1bmx7nCBWHk7EWpAgD74P13/1aF dR3KOibtnnzjyDhS7MxY7STPvWMnwrsaPIwvAjClplTMvy72ZPe2LqUPIbHuEWBmCTqq 5Bx01BDJ5ZEXWhnwafXhFGKZ/kxFcNylJdJuzncS2j3cuGQPNLUET0Qgkf6IPa9mfob7 1N/3Wn4SfG84bxgdTO6FarT3HlJgNvBNcjVX/6gUrfORQRZqYTtxferprzd1d0ucj9XQ IHaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=39PPEuhVRVsZVvJe6r6zmHD1Uy8sB4o4fQgIEwRJuDQ=; b=pOZ/cRU/HLphhRhBPnrRk7Dp9Eq5hzeriU0pVFCPD325h81OXYeW6XyYK2MqIxe7Km P4/3LyKdsIAUnFiKOycypmkZ+pb0ne0WGnNXORR6aR2nGi5B8AB2MzFy559cenp3FNXn czMvC2gJLBt4qTcqXugHprPCFYBDXZyzY4pg3FBy3YpgxZ5R8WwpqVWjDlHBoZ0ViCiA zXReY/1bA8jSa115P+A6DOCAvSIP+Rpf3mv2LnCx5728sbG/Lz1bM0wD0cczsVq0JzTp aaRKQLhj05ZhBc0Zi/24/pV1cfHwYXgK8TkNPrdjsI3ooo6PYICQOlDHh7eXV+qX2xrH KP7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nLpCmUCm; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 16-20020ac85910000000b003b9b7f67cb5si2786026qty.294.2023.02.03.14.59.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Feb 2023 14:59:47 -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=nLpCmUCm; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pO51r-00037Q-R5; Fri, 03 Feb 2023 17:59:35 -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 1pO51q-00037H-Rc for qemu-devel@nongnu.org; Fri, 03 Feb 2023 17:59:35 -0500 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pO51p-0005uH-4c for qemu-devel@nongnu.org; Fri, 03 Feb 2023 17:59:34 -0500 Received: by mail-pj1-x1032.google.com with SMTP id cl23-20020a17090af69700b0022c745bfdc3so6291024pjb.3 for ; Fri, 03 Feb 2023 14:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=39PPEuhVRVsZVvJe6r6zmHD1Uy8sB4o4fQgIEwRJuDQ=; b=nLpCmUCmX5eX9m3xWp7Ghjbmdj1ikBZdCPyvqlnS8RpWuAr4lI2gjUfJwX147ubHuj P9g2rKJ4+Fq/zGXt0lb4NY2/z62hup8+bVURlpGOApmUyxlSR/o2/NAiRKOhsx6B6SNI uJGLS82zZQbjG+aaV0oJ2TTvji33TuNg78uBADURgImiUFQ+E1KIbY1gHK03Jop6iUE8 zQLcqbzcsI9D8Oi24yIO8XKaJSR+EdNuiuuJDIL88VXLS+pNLAJn7KlWFNcSDAEi0FLh 3dX35pquOIxTge/fH2Nx+KRBysdaTsFDtRHKVWHrMnGfwIuigdQOAyFklAUUgygtUspZ Ogwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=39PPEuhVRVsZVvJe6r6zmHD1Uy8sB4o4fQgIEwRJuDQ=; b=yCbKsYp7FtjgH5YkJubuzlKvXfC62cXwaLS2xhed4sTt+MJSZ3vuIFsYoZCx2QbYI1 jAIUAPLScDDzVevgBG+LQ7HIS0bUUJfjIGxTWB2C/JDOT+b7LOsENL/MSH/hdu3X91YB gpz6/y02wYsG5x8sngHBvlCFqvuNAO3sjQbQLmY28Hg2ccyu19WJAwePiJ2zX630P0nb TUZVKObY6OYrx7fw2Ky5HxMLf/rSuJ66d/uHJjp6xeMeB9fjh0hIxsreEg+ADGzc5g05 PzTomS1/o8EoMHgUhL3M07NhXuSPj9sI8orSlrXssq2O7ySGvk6GpnI5cVCxqknZTg42 +UPw== X-Gm-Message-State: AO0yUKWhXIJYkx4PHe8DyDur138qVfER5NOMJgbjeUgLO0b1cKaZqJe2 M7ilrUM97tIRRc32sc53nP7XZLxPAqDrUrFs X-Received: by 2002:a05:6a20:d2c9:b0:bf:7ae0:5faf with SMTP id ir9-20020a056a20d2c900b000bf7ae05fafmr8935710pzb.46.1675465171311; Fri, 03 Feb 2023 14:59:31 -0800 (PST) Received: from stoup.. (rrcs-173-197-98-118.west.biz.rr.com. [173.197.98.118]) by smtp.gmail.com with ESMTPSA id c25-20020a639619000000b004f198707cdbsm1966811pge.55.2023.02.03.14.59.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 14:59:30 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH] tcg: Init temp_subindex in liveness_pass_2 Date: Fri, 3 Feb 2023 12:59:28 -1000 Message-Id: <20230203225928.4129774-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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 Correctly handle large types while lowering. Fixes: fac87bd2a49b ("tcg: Add temp_subindex to TCGTemp") Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- tcg/tcg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/tcg.c b/tcg/tcg.c index fd557d55d3..bc60fd0fe8 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -3063,6 +3063,7 @@ static bool liveness_pass_2(TCGContext *s) TCGTemp *dts = tcg_temp_alloc(s); dts->type = its->type; dts->base_type = its->base_type; + dts->temp_subindex = its->temp_subindex; dts->kind = TEMP_EBB; its->state_ptr = dts; } else {