[Mlir-commits] [mlir] [MLIR] Flatten fused locations when merging constants. (PR #75218)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Dec 12 09:16:51 PST 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 935c6a2d8d01c602017d8ffa01c3c0bcde2f3d28 930030e1ff5d27c60d8fbb9840da4d8bf4eaca8e -- mlir/lib/Transforms/Utils/FoldUtils.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Transforms/Utils/FoldUtils.cpp b/mlir/lib/Transforms/Utils/FoldUtils.cpp
index f414cca38f..078bc56fc3 100644
--- a/mlir/lib/Transforms/Utils/FoldUtils.cpp
+++ b/mlir/lib/Transforms/Utils/FoldUtils.cpp
@@ -357,7 +357,7 @@ Location FlattenFusedLocationRecursively(const Location loc) {
 
   return loc;
 }
-}  // anonymous namespace
+} // anonymous namespace
 
 void OperationFolder::appendFoldedLocation(Operation *retainedOp,
                                            Location foldedLocation) {

``````````

</details>


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


More information about the Mlir-commits mailing list