|
@@ -1586,6 +1586,7 @@ static bool fold_or(OptContext *ctx, TCGOp *op)
|
|
|
static bool fold_orc(OptContext *ctx, TCGOp *op)
|
|
|
{
|
|
|
if (fold_const2(ctx, op) ||
|
|
|
+ fold_xx_to_i(ctx, op, -1) ||
|
|
|
fold_xi_to_x(ctx, op, -1) ||
|
|
|
fold_ix_to_not(ctx, op, 0)) {
|
|
|
return true;
|