]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Fix constant propagation in tcg_reg_alloc_dup
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Jun 2025 15:57:53 +0000 (09:57 -0600)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 1 Jul 2025 19:02:27 +0000 (22:02 +0300)
commit22909a1397ad9679f0ffaba3016a3420ace2da21
tree5e6006d569f48f4929c4c3822922ac583de72e91
parent46cdfdfe9202c4e58aed99bfbf7e20f514c671cd
tcg: Fix constant propagation in tcg_reg_alloc_dup

The scalar constant must be replicated for dup.

Cc: qemu-stable@nongnu.org
Fixes: bab1671f0fa ("tcg: Manually expand INDEX_op_dup_vec")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3002
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 0d0fc3f4658937fb81fcc16a89738e83bd8d4795)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/tcg.c