]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Avoid load of icount_decr if unused
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Sep 2023 14:39:07 +0000 (07:39 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Sep 2023 17:07:32 +0000 (10:07 -0700)
commitf47a90dacca8f74210a2675bdde7ab3856872b94
tree97e5534dd1bd299727ef1bff3e5c6a220a03d998
parent36e9aab3c569d4c9ad780473596e18479838d1aa
accel/tcg: Avoid load of icount_decr if unused

With CF_NOIRQ and without !CF_USE_ICOUNT, the load isn't used.
Avoid emitting it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translator.c