[Mlir-commits] [mlir] [mlir][sparse] implement lowering rules for ExtractIterSpaceOp. @PeimingLiu (PR #89143)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 17 14:02:04 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 8aa061ffc75adfab4b3084c918e7d4a3ccd5ba43 c5c7bb105250a8547aef4cb6b1a12e9d01bd5c02 -- mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp mlir/lib/Dialect/SparseTensor/Transforms/SparseSpaceCollapse.cpp mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h b/mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
index 29e6dcd96c..ef96d83a22 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
@@ -129,7 +129,6 @@ public:
   Value getBoundLo() const { return bound.first; }
   Value getBoundHi() const { return bound.second; }
 
-
 private:
   SmallVector<std::unique_ptr<SparseTensorLevel>> lvls;
   std::pair<Value, Value> bound;

``````````

</details>


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


More information about the Mlir-commits mailing list