[Mlir-commits] [mlir] c53d84a - [mlir][sparse] remove unintended file and trailing white space
Peiming Liu
llvmlistbot at llvm.org
Thu Dec 15 11:43:09 PST 2022
Author: Peiming Liu
Date: 2022-12-15T19:43:03Z
New Revision: c53d84ae5299ce90a12c4f43fdc90074b9bc3219
URL: https://github.com/llvm/llvm-project/commit/c53d84ae5299ce90a12c4f43fdc90074b9bc3219
DIFF: https://github.com/llvm/llvm-project/commit/c53d84ae5299ce90a12c4f43fdc90074b9bc3219.diff
LOG: [mlir][sparse] remove unintended file and trailing white space
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D140139
Added:
Modified:
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
Removed:
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h
################################################################################
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
index c417f332655ec..fc167372add37 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
@@ -27,7 +27,7 @@ class SparseTensor_Type<string name, list<Trait> traits = [],
def SparseTensor_StorageSpecifier : SparseTensor_Type<"StorageSpecifier"> {
let mnemonic = "storage_specifier";
let summary = "Structured metadata for sparse tensor low-level storage scheme";
-
+
let description = [{
Syntax:
@@ -41,7 +41,7 @@ def SparseTensor_StorageSpecifier : SparseTensor_Type<"StorageSpecifier"> {
It currently holds a set of values for sizes of sparse tensor dimension, index array,
pointer array and value array.
Note that the type is not yet stable and subject to change in the near future.
-
+
Examples:
```mlir
@@ -49,7 +49,7 @@ def SparseTensor_StorageSpecifier : SparseTensor_Type<"StorageSpecifier"> {
!storage_specifier<#CSR>
```
}];
-
+
let parameters = (ins SparseTensorEncodingAttr : $encoding);
let builders = [
TypeBuilderWithInferredContext<(ins "SparseTensorEncodingAttr":$encoding), [{
@@ -63,7 +63,7 @@ def SparseTensor_StorageSpecifier : SparseTensor_Type<"StorageSpecifier"> {
return get(tensor.getType());
}]>
];
-
+
let extraClassDeclaration = [{
// Get the integer type used to store memory and dimension sizes.
IntegerType getSizesType() const;
@@ -76,9 +76,9 @@ def SparseTensor_StorageSpecifier : SparseTensor_Type<"StorageSpecifier"> {
def IsSparseTensorStorageSpecifierTypePred
: CPred<"$_self.isa<::mlir::sparse_tensor::StorageSpecifierType>()">;
-
+
def SparseTensorStorageSpecifier
: Type<CPred<"$_self.isa<::mlir::sparse_tensor::StorageSpecifierType>()">, "metadata",
"::mlir::sparse_tensor::StorageSpecifierType">;
-
+
#endif // SPARSETENSOR_TYPES
More information about the Mlir-commits
mailing list