target/openrisc: Use tcg_constant_tl for dc->R0
commit4d10fa0ff901b055ca75f6986974609bc99820dd
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Jul 2021 21:12:09 +0000 (8 14:12 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Jul 2021 15:13:19 +0000 (13 08:13 -0700)
treee1210bf3c26a8ca46c8a88f7e7db2cded496488b
parentaf42d3540179d48ee31bd421d00100c26bfb63e3
target/openrisc: Use tcg_constant_tl for dc->R0

The temp allocated for tcg_const_tl is auto-freed at branches,
but pure constants are not.  So we can remove the extra hoop
jumping in trans_l_swa.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/translate.c