diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td --- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td +++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td @@ -536,10 +536,11 @@ } def SparseTensor_YieldOp : SparseTensor_Op<"yield", [NoSideEffect, Terminator]> { - let summary = "Yield from sparse_tensor set operations"; + let summary = "Yield from sparse_tensor set-like operations"; let description = [{ Yield a value from within a block. - Used to terminate a block in sparse_tensor set-like operations. + Used to terminate a block in sparse_tensor set-like operations, which + operate on different pieces of sparse tensor overlaps. Example: ``` diff --git a/mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp b/mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp --- a/mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp +++ b/mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp @@ -13,7 +13,6 @@ #include "mlir/IR/Matchers.h" #include "mlir/IR/OpImplementation.h" #include "llvm/ADT/TypeSwitch.h" -#include using namespace mlir; using namespace mlir::sparse_tensor;