[llvm] [mlir][sparse] implementating stageSparseOpPass as an interface (PR #69022)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 11:01:32 PDT 2023


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 1ebe73821f4cefa48d7e3d24e62303412ab9ad25 3381fbbebcbe43310e53f03c7d2f148e77446f39 -- mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h mlir/lib/Dialect/SparseTensor/IR/SparseTensorInterfaces.cpp mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp mlir/lib/Dialect/SparseTensor/Transforms/StageSparseOperations.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h
index ebbc522123a5..15f1fa0e5da9 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h
@@ -1,5 +1,5 @@
 //===- SparseTensorInterfaces.h - sparse tensor operations
-//interfaces-------===//
+// interfaces-------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


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


More information about the llvm-commits mailing list