소스 검색

tcg/optimize: Use finish_folding in fold_remainder

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Richard Henderson 8 달 전
부모
커밋
f9e3934903
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tcg/optimize.c

+ 1 - 1
tcg/optimize.c

@@ -2152,7 +2152,7 @@ static bool fold_remainder(OptContext *ctx, TCGOp *op)
         fold_xx_to_i(ctx, op, 0)) {
         fold_xx_to_i(ctx, op, 0)) {
         return true;
         return true;
     }
     }
-    return false;
+    return finish_folding(ctx, op);
 }
 }
 
 
 static bool fold_setcond_zmask(OptContext *ctx, TCGOp *op, bool neg)
 static bool fold_setcond_zmask(OptContext *ctx, TCGOp *op, bool neg)