aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-02-03 12:58:12 -1000
committerRichard Henderson <richard.henderson@linaro.org>2023-02-04 06:19:42 -1000
commite1e646524437072e466313b04a2f8326dd7b8e77 (patch)
tree366071c45061adb1b97a4d7baa0b2293b03342b1 /tcg/tcg.c
parent99ab4d500af638ba3ebb20e8aa89d72201b70860 (diff)
downloadqemu-e1e646524437072e466313b04a2f8326dd7b8e77.zip
qemu-e1e646524437072e466313b04a2f8326dd7b8e77.tar.gz
qemu-e1e646524437072e466313b04a2f8326dd7b8e77.tar.bz2
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 <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index fd557d5..bc60fd0 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 {