[Mlir-commits] [mlir] 11e9a72 - [mlir][Linalg] NFC - Drop unused variable definition.
Nicolas Vasilache
llvmlistbot at llvm.org
Mon Jun 21 00:08:35 PDT 2021
Author: Nicolas Vasilache
Date: 2021-06-21T07:08:02Z
New Revision: 11e9a72dfc83bd4d6ffecd4b84b57238ee87f1f4
URL: https://github.com/llvm/llvm-project/commit/11e9a72dfc83bd4d6ffecd4b84b57238ee87f1f4
DIFF: https://github.com/llvm/llvm-project/commit/11e9a72dfc83bd4d6ffecd4b84b57238ee87f1f4.diff
LOG: [mlir][Linalg] NFC - Drop unused variable definition.
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
index 9ae2546878d1..620981b34bf4 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
@@ -1359,7 +1359,6 @@ static LogicalResult bufferize(OpBuilder &b,
// subtensor is computed out of place into the inplace full tensor.
// - The result is not inplace. This is the case where the whole tensor is
// cloned and the clone needs to be updated.
- Value source = subTensorInsertOp.source();
if (!aliasInfo.isSourceEquivalentToAMatchingSubTensorOp(subTensorInsertOp) ||
inPlace != InPlaceSpec::True) {
LDBG("subtensor_insert needs extra source copy: "
More information about the Mlir-commits
mailing list