[Mlir-commits] [mlir] 6bcaf6f - [mlir][Linalg] Remove unused variable. NFCI.
Benjamin Kramer
llvmlistbot at llvm.org
Mon Oct 5 09:59:17 PDT 2020
Author: Benjamin Kramer
Date: 2020-10-05T18:58:29+02:00
New Revision: 6bcaf6ff69e978cb7ecf10a16f9ba75e14ba19c2
URL: https://github.com/llvm/llvm-project/commit/6bcaf6ff69e978cb7ecf10a16f9ba75e14ba19c2
DIFF: https://github.com/llvm/llvm-project/commit/6bcaf6ff69e978cb7ecf10a16f9ba75e14ba19c2.diff
LOG: [mlir][Linalg] Remove unused variable. NFCI.
Added:
Modified:
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
index 44c6b77ee404..c10a1e4f4e04 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
@@ -413,7 +413,6 @@ def LinalgStructuredInterface : OpInterface<"LinalgOp"> {
/*args=*/(ins),
/*methodBody=*/"",
/*defaultImplementation=*/[{
- auto range = this->getOperation()->getOperands();
return getNumInputsAndOutputBuffers() + $_op.getNumInitTensors();
}]
>,
More information about the Mlir-commits
mailing list