[Mlir-commits] [mlir] [mlir][bufferization][NFC] Simplify `bufferizeOp` function signature (PR #68625)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 9 13:29:39 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 b9c6737ba7307308ecb6ec4cecc4c07e48e7c141 00f13ce6ad5ce4e4974b01c31bb667904138516c -- mlir/include/mlir/Dialect/Bufferization/Transforms/Bufferize.h mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp b/mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
index 95872368c436..8887b7c57933 100644
--- a/mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
+++ b/mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
@@ -40,8 +40,8 @@
#include "mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h"
-#include <random>
#include <optional>
+#include <random>
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/68625
More information about the Mlir-commits
mailing list