target/hexagon/idef-parser: Use gen_constant for gen_extend_tcg_width_op
commit3b10fd8f09185b389ecbe56d2b246bb10248d76d
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 03:12:05 +0000 (26 17:12 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:45:16 +0000 (5 13:45 -0800)
treeae05e7e95266d110b3aa32dfcbd50f171ab0205c
parente0df97777c11c5f62313f8b1395a358b6fa02cb7
target/hexagon/idef-parser: Use gen_constant for gen_extend_tcg_width_op

We already have a temporary, res, which we can use for the intermediate
shift result.  Simplify the constant to -1 instead of 0xf*f.
This was the last use of gen_tmp_value, so remove it.

Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/idef-parser/parser-helpers.c