mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix(compiler): Fix lowering MidLFHE.add_glwe_int, the operand type can be already lowered
This commit is contained in:
committed by
Andi Drebes
parent
ba54560680
commit
a804e90291
@@ -129,9 +129,8 @@ mlir::Value createAddPlainLweCiphertext(mlir::PatternRewriter &rewriter,
|
||||
mlir::Location loc, mlir::Value arg0,
|
||||
mlir::Value arg1,
|
||||
mlir::OpResult result) {
|
||||
auto glwe = arg0.getType().cast<GLWECipherTextType>();
|
||||
return createAddPlainLweCiphertextWithGlwe(rewriter, loc, arg0, arg1, result,
|
||||
glwe);
|
||||
arg0.getType());
|
||||
}
|
||||
|
||||
mlir::Value createSubIntLweCiphertext(mlir::PatternRewriter &rewriter,
|
||||
|
||||
Reference in New Issue
Block a user