Message ID | 20230203225928.4129774-1-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | tcg: Init temp_subindex in liveness_pass_2 | expand |
On 3/2/23 23:59, Richard Henderson wrote: > Correctly handle large types while lowering. > > Fixes: fac87bd2a49b ("tcg: Add temp_subindex to TCGTemp") > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > 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 { Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 {
Correctly handle large types while lowering. Fixes: fac87bd2a49b ("tcg: Add temp_subindex to TCGTemp") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/tcg.c | 1 + 1 file changed, 1 insertion(+)