From: Richard Henderson Date: Fri, 3 Feb 2023 22:58:12 +0000 (-1000) Subject: tcg: Init temp_subindex in liveness_pass_2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e1e646524437072e466313b04a2f8326dd7b8e77;p=qemu.git tcg: Init temp_subindex in liveness_pass_2 Correctly handle large types while lowering. Fixes: fac87bd2a49b ("tcg: Add temp_subindex to TCGTemp") Signed-off-by: Richard Henderson --- 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 {