commit | e8679955ec0791122a6c22d48ae760a215204f6a | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Wed Aug 25 13:19:52 2021 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed Oct 27 17:11:22 2021 -0700 |
tree | 7828cbe6648b5fce1041025a10c9aab7f500f090 | |
parent | ca7bb049a0250890afd4dd0e66f10b8a4d51715c [diff] |
tcg/optimize: Split out fold_xi_to_i Pull the "op r, a, 0 => movi r, 0" optimization into a function, and use it in the outer opcode fold functions. 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>