]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 2 Oct 2023 23:01:36 +0000 (02:01 +0300)
commit837ca790c68b5447dfece971646eca2f39f4e0ad
treeebc31632270e467ef37e5e1af82a2048debd77ee
parentd9ec18a0fc058dd3c421524fb284bcd76b8b9f5f
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>
(cherry picked from commit f47a90dacca8f74210a2675bdde7ab3856872b94)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/translator.c