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>
This commit is contained in:
parent
322027841f
commit
cd9c5834d8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user