Skip to content

Commit 11e9a72

Browse files
[mlir][Linalg] NFC - Drop unused variable definition.
1 parent e04533d commit 11e9a72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,6 @@ static LogicalResult bufferize(OpBuilder &b,
13591359
// subtensor is computed out of place into the inplace full tensor.
13601360
// - The result is not inplace. This is the case where the whole tensor is
13611361
// cloned and the clone needs to be updated.
1362-
Value source = subTensorInsertOp.source();
13631362
if (!aliasInfo.isSourceEquivalentToAMatchingSubTensorOp(subTensorInsertOp) ||
13641363
inPlace != InPlaceSpec::True) {
13651364
LDBG("subtensor_insert needs extra source copy: "

0 commit comments

Comments
 (0)