summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-29 10:37:19 -1000
committerRichard Henderson <richard.henderson@linaro.org>2023-03-01 07:33:27 -1000
commit4d89d0bb8f01060b18f94d84c2dcea573bdd1381 (patch)
tree2af1404d8d929fbced3dad1182d23f6371c6fdf8 /tcg/optimize.c
parent9b1890ad901bd22352b8a9598220df51fe8b0d41 (diff)
downloadfocaccia-qemu-4d89d0bb8f01060b18f94d84c2dcea573bdd1381.tar.gz
focaccia-qemu-4d89d0bb8f01060b18f94d84c2dcea573bdd1381.zip
tcg: Remove branch-to-next regardless of reference count
Just because the label reference count is more than 1 does
not mean we cannot remove a branch-to-next.  By doing this
first, the label reference count may drop to 0, and then
the label itself gets removed as before.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions