]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg.c
tcg: Fix indirect lowering vs TCG_OPF_COND_BRANCH
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 16 Mar 2022 16:34:18 +0000 (09:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 19:12:47 +0000 (12:12 -0700)
commitc74824389e1a56781f947e23da68742e8faeaf77
tree20821757f9162e18b2943a4e9872e8522090e276
parent55d71e0b784e03dbd15bc13d75af88ed5340fde8
tcg: Fix indirect lowering vs TCG_OPF_COND_BRANCH

With TCG_OPF_COND_BRANCH, we extended the lifetimes of
globals across extended basic blocks.  This means that
the liveness computed in pass 1 does not kill globals
in the same way as normal temps.

Introduce TYPE_EBB to match this lifetime, so that we
get correct register allocation for the temps that we
introduce during the indirect lowering pass.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Fixes: b4cb76e6208 ("tcg: Do not kill globals at conditional branches")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c