[Mlir-commits] [mlir] [mlir] [bufferize] fix bufferize deallocation error in nest symbol table (PR #98476)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Jul 14 20:04:21 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 74b933c28e777fdc04e50f5f96e4f7a4ad1e79a6 4c20541debe9377e0f1516f393ffcb4d249f1e18 --extensions h,cpp -- mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp mlir/lib/Dialect/Bufferization/Transforms/LowerDeallocations.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h b/mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
index bf5c364b77..c12ed7f5d0 100644
--- a/mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
+++ b/mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
@@ -49,8 +49,7 @@ std::unique_ptr<Pass> createLowerDeallocationsPass();
/// Adds the conversion pattern of the `bufferization.dealloc` operation to the
/// given pattern set for use in other transformation passes.
void populateBufferizationDeallocLoweringPattern(
- RewritePatternSet &patterns,
- const DeallocHelperMap &deallocHelperFuncMap);
+ RewritePatternSet &patterns, const DeallocHelperMap &deallocHelperFuncMap);
/// Construct the library function needed for the fully generic
/// `bufferization.dealloc` lowering implemented in the LowerDeallocations pass.
``````````
</details>
https://github.com/llvm/llvm-project/pull/98476
More information about the Mlir-commits
mailing list