mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 21:42:06 -06:00
tcg/optimize: Use finish_folding in fold_cmp_vec
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a53502c0b4
commit
4d20104f9f
1 changed files with 1 additions and 1 deletions
|
@ -2480,7 +2480,7 @@ static bool fold_cmp_vec(OptContext *ctx, TCGOp *op)
|
||||||
if (swap_commutative(NO_DEST, &op->args[1], &op->args[2])) {
|
if (swap_commutative(NO_DEST, &op->args[1], &op->args[2])) {
|
||||||
op->args[3] = tcg_swap_cond(op->args[3]);
|
op->args[3] = tcg_swap_cond(op->args[3]);
|
||||||
}
|
}
|
||||||
return false;
|
return finish_folding(ctx, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool fold_cmpsel_vec(OptContext *ctx, TCGOp *op)
|
static bool fold_cmpsel_vec(OptContext *ctx, TCGOp *op)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue