diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-25 20:42:04 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 17:11:22 -0700 |
commit | da48e2720227473041b7a14dd9f838577d36833a (patch) | |
tree | 4c92541c63ebe0c78abf0c7d95018fab26e8218b /cpus-common.c | |
parent | a63ce0e9cb860439d4277bd6dca696bce1f1bb6b (diff) |
tcg/optimize: Split out fold_ix_to_i
Pull the "op r, 0, b => movi r, 0" optimization into a function,
and use it in fold_shift.
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'cpus-common.c')
0 files changed, 0 insertions, 0 deletions