OSDN Git Service

target/hexagon/idef-parser: Use gen_tmp for gen_rvalue_pred
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 03:00:35 +0000 (17:00 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:45:11 +0000 (13:45 -0800)
commite0df97777c11c5f62313f8b1395a358b6fa02cb7
treed9ccd6e8aacf7ee80f1b4ca4a4d5c2c36ea63bcd
parent08a266e35e973237a56fe48311ac433cd46ff97f
target/hexagon/idef-parser: Use gen_tmp for gen_rvalue_pred

The allocation is immediately followed by either tcg_gen_mov_i32
or gen_read_preg (which contains tcg_gen_mov_i32), so the zero
initialization is immediately discarded.

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