[Mlir-commits] [mlir] [mlir] Adopt `ConvertToLLVMPatternInterface` GpuToLLVMConversionPass to align with `convert-to-llvm` (PR #73761)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 29 00:13:14 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 6a4489a73337907d52e7eaf3716f3de9008e6e53 9ce6d7f297713c5e9da2147f2cd6cd15aa73f1a9 -- mlir/include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp b/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
index fec15dceeb..75dee09d2f 100644
--- a/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
+++ b/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
@@ -19,6 +19,7 @@
 #include "mlir/Conversion/AsyncToLLVM/AsyncToLLVM.h"
 #include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h"
 #include "mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h"
+#include "mlir/Conversion/ConvertToLLVM/ToLLVMPass.h"
 #include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
 #include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h"
 #include "mlir/Conversion/LLVMCommon/ConversionTarget.h"
@@ -34,7 +35,6 @@
 #include "mlir/IR/Builders.h"
 #include "mlir/IR/BuiltinOps.h"
 #include "mlir/IR/BuiltinTypes.h"
-#include "mlir/Conversion/ConvertToLLVM/ToLLVMPass.h"
 
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/Error.h"

``````````

</details>


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


More information about the Mlir-commits mailing list