On 10/12/21 2:31 AM, Taylor Simpson wrote:
Change additional tcg_const_tl to tcg_constant_tl

Note that gen_pred_cancal had slot_mask initialized with tcg_const_tl.
However, it is not constant throughout, so we initialize it with
tcg_temp_new and replace the first use with the constant value.

Inspired-by: Richard Henderson<richard.hender...@linaro.org>
Inspired-by: Philippe Mathieu-Daud<C3><A9><f4...@amsat.org>
Signed-off-by: Taylor Simpson<tsimp...@quicinc.com>
---
  target/hexagon/gen_tcg.h        |  9 +++------
  target/hexagon/macros.h         |  7 +++----
  target/hexagon/translate.c      |  3 +--
  target/hexagon/gen_tcg_funcs.py | 11 ++---------
  4 files changed, 9 insertions(+), 21 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to