[mlir][Linalg] NFC - Drop unused variable definition.
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Mon, 21 Jun 2021 07:08:02 +0000 (07:08 +0000)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Mon, 21 Jun 2021 07:08:02 +0000 (07:08 +0000)
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp

index 9ae2546..620981b 100644 (file)
@@ -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: "