On 8/30/21 8:24 AM, Richard Henderson wrote: > Pull the "op r, a, a => movi r, 0" optimization into a function, > and use it in the outer opcode fold functions. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > tcg/optimize.c | 41 ++++++++++++++++++++++++----------------- > 1 file changed, 24 insertions(+), 17 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>