[Mlir-commits] [mlir] [mlir][sparse] Add verification for explicit/implicit value (PR #90111)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu May 2 10:36:55 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 5445a35d6ef5e8b6d3aafd78c48167ef22eef0af bf8d54a0c75ad4ca380b57bac645a4b689fe8b9b -- mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
index 365a8cba30..664ca6f012 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
@@ -18,7 +18,6 @@
 namespace mlir {
 namespace sparse_tensor {
 
-
 //===----------------------------------------------------------------------===//
 /// A wrapper around `RankedTensorType`, which has three goals:
 ///
@@ -61,7 +60,6 @@ public:
       : SparseTensorType(
             RankedTensorType::get(stp.getShape(), stp.getElementType(), enc)) {}
 
-
   SparseTensorType &operator=(const SparseTensorType &) = delete;
   SparseTensorType(const SparseTensorType &) = default;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/90111


More information about the Mlir-commits mailing list