fix(compiler): Remove unused variable in lib/Dialect/FHE/Analysis/MANP.cpp

This commit is contained in:
Andi Drebes
2022-01-07 10:50:28 +01:00
committed by Quentin Bourgerie
parent 94f160eef1
commit 258480dab6

View File

@@ -231,9 +231,6 @@ static llvm::APInt denseCstTensorNorm2Sq(mlir::arith::ConstantOp cstOp,
assert(tensorType.getElementType().isSignlessInteger() &&
"Can only handle tensors with signless integer elements");
mlir::IntegerType elementType =
tensorType.getElementType().cast<mlir::IntegerType>();
llvm::APInt accu{1, 0, false};
for (llvm::APInt val : denseVals.getValues<llvm::APInt>()) {