[Mlir-commits] [mlir] [mlir] [memref] Compile-time memref.alloc Scheduling/Merging optimization (PR #95882)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Aug 20 07:02:15 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 ee572ed4ac2d9e2ff37217d6bedc20f530a5d3af 8926d6b8ff6a64c2bae8bf95ecfc7115c76b8894 --extensions h,cpp -- mlir/include/mlir/Dialect/MemRef/Transforms/MergeAllocTickBased.h mlir/include/mlir/Dialect/MemRef/Transforms/StaticMemoryPlanning.h mlir/lib/Dialect/MemRef/Transforms/MergeAlloc.cpp mlir/lib/Dialect/MemRef/Transforms/MergeAllocTickBased.cpp mlir/lib/Dialect/MemRef/Transforms/StaticMemoryPlanning.cpp mlir/unittests/Dialect/MemRef/StaticMemoryPlanning.cpp mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/MemRef/Transforms/MergeAlloc.cpp b/mlir/lib/Dialect/MemRef/Transforms/MergeAlloc.cpp
index 3ddcf75bb3..6ae377089a 100644
--- a/mlir/lib/Dialect/MemRef/Transforms/MergeAlloc.cpp
+++ b/mlir/lib/Dialect/MemRef/Transforms/MergeAlloc.cpp
@@ -90,7 +90,7 @@ public:
explicit MergeAllocPass(const memref::MergeAllocationOptions &o)
: options{std::move(o)} {}
};
-}
+} // namespace
} // namespace mlir
std::unique_ptr<mlir::Pass>
``````````
</details>
https://github.com/llvm/llvm-project/pull/95882
More information about the Mlir-commits
mailing list