mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix(compiler): Remove unused variables in lib/Dialect/TFHE/IR/TFHEOps.cpp
This commit is contained in:
committed by
Quentin Bourgerie
parent
ce9d86014d
commit
7062052ca6
@@ -147,11 +147,9 @@ mlir::LogicalResult verifyUnaryGLWEOperator(Operator &op) {
|
||||
mlir::LogicalResult verifyApplyLookupTable(ApplyLookupTable &op) {
|
||||
auto ct = op.ct().getType().cast<GLWECipherTextType>();
|
||||
auto l_cst = op.l_cst().getType().cast<RankedTensorType>();
|
||||
auto result = op.getResult().getType().cast<GLWECipherTextType>();
|
||||
|
||||
// Check the shape of l_cst argument
|
||||
auto width = ct.getP();
|
||||
auto lCstShape = l_cst.getShape();
|
||||
auto expectedSize = 1 << width;
|
||||
mlir::SmallVector<int64_t, 1> expectedShape{expectedSize};
|
||||
if (!l_cst.hasStaticShape(expectedShape)) {
|
||||
|
||||
Reference in New Issue
Block a user