[Mlir-commits] [mlir] [MLIR] Create GPU utils library & move distribution utils (PR #119264)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 9 12:36:05 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 d5fe6332c9f25590b9878ad31d6461ea581e0fa5 dab68412dc7b133baec0b2ec17428f3378c65cc8 --extensions cpp,h -- mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h mlir/lib/Dialect/GPU/Utils/DistributionUtils.cpp mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h mlir/include/mlir/Dialect/GPU/Transforms/Passes.h mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp mlir/include/mlir/Dialect/GPU/Utils/GPUUtils.h mlir/lib/Dialect/GPU/Utils/Utils.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Dialect/GPU/Transforms/Passes.h b/mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
index eb51d477e2..aaef91f31a 100644
--- a/mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
+++ b/mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
@@ -13,8 +13,8 @@
#ifndef MLIR_DIALECT_GPU_TRANSFORMS_PASSES_H_
#define MLIR_DIALECT_GPU_TRANSFORMS_PASSES_H_
-#include "mlir/Dialect/GPU/Utils/GPUUtils.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
+#include "mlir/Dialect/GPU/Utils/GPUUtils.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include <optional>
``````````
</details>
https://github.com/llvm/llvm-project/pull/119264
More information about the Mlir-commits
mailing list