mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tcg/optimize: Use finish_folding in fold_dup, fold_dup2
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3d5ec804da
commit
e089d694e1
1 changed files with 2 additions and 2 deletions
|
@ -1698,7 +1698,7 @@ static bool fold_dup(OptContext *ctx, TCGOp *op)
|
|||
t = dup_const(TCGOP_VECE(op), t);
|
||||
return tcg_opt_gen_movi(ctx, op, op->args[0], t);
|
||||
}
|
||||
return false;
|
||||
return finish_folding(ctx, op);
|
||||
}
|
||||
|
||||
static bool fold_dup2(OptContext *ctx, TCGOp *op)
|
||||
|
@ -1713,7 +1713,7 @@ static bool fold_dup2(OptContext *ctx, TCGOp *op)
|
|||
op->opc = INDEX_op_dup_vec;
|
||||
TCGOP_VECE(op) = MO_32;
|
||||
}
|
||||
return false;
|
||||
return finish_folding(ctx, op);
|
||||
}
|
||||
|
||||
static bool fold_eqv(OptContext *ctx, TCGOp *op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue