[Mlir-commits] [mlir] [mlir][amdgpu] Promote gpu.shuffle to amdgpu.dpp (PR #155158)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Aug 24 04:08:02 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp b/mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
index 4144846e1..c4e09a084 100644
--- a/mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
@@ -87,7 +87,6 @@ struct PromoteShuffleToPermlanePattern
if (offsetValue != 16 && offsetValue != 32)
return rewriter.notifyMatchFailure(op, "offset must be either 16 or 32");
-
Location loc = op.getLoc();
Value res = amdgpu::PermlaneSwapOp::create(
rewriter, loc, op.getResult(0).getType(), op.getValue(), offsetValue);
``````````
</details>
https://github.com/llvm/llvm-project/pull/155158
More information about the Mlir-commits
mailing list