diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-08 20:18:02 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-24 08:32:15 -0800 |
commit | cd9c5834d83ccde38268a52d3201659a6286428b (patch) | |
tree | b3488a2838c108b1fdecec2a9cebfd193c404d24 | |
parent | 322027841f2e35adef592e28ee1288d90232185f (diff) | |
download | qemu-cd9c5834d83ccde38268a52d3201659a6286428b.zip qemu-cd9c5834d83ccde38268a52d3201659a6286428b.tar.gz qemu-cd9c5834d83ccde38268a52d3201659a6286428b.tar.bz2 |
tcg/optimize: Use finish_folding in fold_mul*
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | tcg/optimize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tcg/optimize.c b/tcg/optimize.c index 0104582..10d1376 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1969,7 +1969,7 @@ static bool fold_mul(OptContext *ctx, TCGOp *op) fold_xi_to_x(ctx, op, 1)) { return true; } - return false; + return finish_folding(ctx, op); } static bool fold_mul_highpart(OptContext *ctx, TCGOp *op) @@ -1978,7 +1978,7 @@ static bool fold_mul_highpart(OptContext *ctx, TCGOp *op) fold_xi_to_i(ctx, op, 0)) { return true; } - return false; + return finish_folding(ctx, op); } static bool fold_multiply2(OptContext *ctx, TCGOp *op) @@ -2023,7 +2023,7 @@ static bool fold_multiply2(OptContext *ctx, TCGOp *op) tcg_opt_gen_movi(ctx, op2, rh, h); return true; } - return false; + return finish_folding(ctx, op); } static bool fold_nand(OptContext *ctx, TCGOp *op) |