[Mlir-commits] [mlir] [mlir][sparse] external entry method wrapper for sparse tensors (PR #80326)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 1 12:14:10 PST 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 cc0c8e592f8ff58ab821a04b7dcfb71403b4bea6 f7ee3ea00ef4e6831f50f917d5ad35b32b5d406f -- mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp
index 23d96fecbb..cf14ba16c5 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp
@@ -22,7 +22,8 @@ using namespace sparse_tensor;
// Helper methods.
//===----------------------------------------------------------------------===//
-// TODO: the following loops look very similar to our StorageLayout::foreachField
+// TODO: the following loops look very similar to our
+// StorageLayout::foreachField
// loops, so perhaps use these here (once we are confident this approach
// works well with external formats
``````````
</details>
https://github.com/llvm/llvm-project/pull/80326
More information about the Mlir-commits
mailing list