[Mlir-commits] [mlir] [mlir][llvmir] expose Type(To/From)LLVMIRTranslator C API (PR #124864)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jan 30 06:26:16 PST 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 c1ec5beb4ab36c2c4d99ed6d735d217e74364771 5c9faeaac47610a458c914d8405858a748c298e8 --extensions c,h,cpp -- mlir/include/mlir-c/Dialect/LLVM.h mlir/include/mlir-c/Target/LLVMIR.h mlir/include/mlir/Target/LLVMIR/TypeToLLVM.h mlir/lib/CAPI/Dialect/LLVM.cpp mlir/lib/CAPI/Target/LLVMIR.cpp mlir/lib/Target/LLVMIR/TypeToLLVM.cpp mlir/test/CAPI/translation.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir-c/Target/LLVMIR.h b/mlir/include/mlir-c/Target/LLVMIR.h
index a86bc5dc5f..b5f948961e 100644
--- a/mlir/include/mlir-c/Target/LLVMIR.h
+++ b/mlir/include/mlir-c/Target/LLVMIR.h
@@ -16,8 +16,8 @@
#include "mlir-c/IR.h"
#include "mlir-c/Support.h"
-#include "llvm-c/Support.h"
#include "llvm-c/Core.h"
+#include "llvm-c/Support.h"
#ifdef __cplusplus
extern "C" {
``````````
</details>
https://github.com/llvm/llvm-project/pull/124864
More information about the Mlir-commits
mailing list