tcg/optimize: Use finish_folding in fold_cmpsel_vec

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-12-08 20:59:15 -06:00
parent 4d20104f9f
commit 210c70b7ac

View File

@ -2501,7 +2501,7 @@ static bool fold_cmpsel_vec(OptContext *ctx, TCGOp *op)
if (swap_commutative(op->args[0], &op->args[4], &op->args[3])) { if (swap_commutative(op->args[0], &op->args[4], &op->args[3])) {
op->args[5] = tcg_invert_cond(op->args[5]); op->args[5] = tcg_invert_cond(op->args[5]);
} }
return false; return finish_folding(ctx, op);
} }
static bool fold_sextract(OptContext *ctx, TCGOp *op) static bool fold_sextract(OptContext *ctx, TCGOp *op)