qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tcg: Init temp_subindex in liveness_pass_2
@ 2023-02-03 22:59 Richard Henderson
  2023-02-04 18:16 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2023-02-03 22:59 UTC (permalink / raw)
  To: qemu-devel

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 {
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tcg: Init temp_subindex in liveness_pass_2
  2023-02-03 22:59 [PATCH] tcg: Init temp_subindex in liveness_pass_2 Richard Henderson
@ 2023-02-04 18:16 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-04 18:16 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel

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>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-04 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 22:59 [PATCH] tcg: Init temp_subindex in liveness_pass_2 Richard Henderson
2023-02-04 18:16 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).