[Mlir-commits] [mlir] [mlir][amdgpu] Shared memory access optimization pass (PR #75627)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Jan 7 22:25:06 PST 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 ce944597e43ae4f77260d4683f8d6535947fb0a2 90da52e8b8f7cd073bf093382cc12e1fdd91b994 -- mlir/include/mlir/Dialect/AMDGPU/Transforms/Transforms.h mlir/include/mlir/Dialect/AMDGPU/Transforms/Utils.h mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp mlir/lib/Dialect/AMDGPU/Transforms/Utils.cpp mlir/include/mlir/Dialect/AMDGPU/Transforms/Passes.h mlir/lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp b/mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
index 786e51aeba..0a2f04f4e6 100644
--- a/mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
+++ b/mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
@@ -1,4 +1,5 @@
-//===- OptimizeSharedMemory.cpp - MLIR AMDGPU pass implementation ----------===//
+//===- OptimizeSharedMemory.cpp - MLIR AMDGPU pass implementation
+//----------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


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


More information about the Mlir-commits mailing list